@@ -6132,7 +6132,8 @@ paths:
6132
6132
--region us-central \
6133
6133
--version 1.16 \
6134
6134
--node_pools.type g6-standard-4 --node_pools.count 6 \
6135
- --node_pools.type g6-standard-8 --node_pools.count 3
6135
+ --node_pools.type g6-standard-8 --node_pools.count 3 \
6136
+ --tags ecomm
6136
6137
/lke/clusters/{clusterId}:
6137
6138
parameters:
6138
6139
- name: clusterId
@@ -6207,26 +6208,66 @@ paths:
6207
6208
properties:
6208
6209
label:
6209
6210
$ref: '#/components/schemas/LKEClusterRequestBody/properties/label'
6211
+ tags:
6212
+ type: array
6213
+ items:
6214
+ type: string
6215
+ example:
6216
+ - prod
6217
+ - monitoring
6218
+ - ecomm
6219
+ - blog
6220
+ description: >
6221
+ An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
6222
+ To delete a tag, exclude it from your `tags` array.
6210
6223
responses:
6211
6224
'200':
6212
6225
description: Returns a single Kubernetes cluster.
6213
6226
content:
6214
6227
application/json:
6215
6228
schema:
6216
- $ref: '#/components/schemas/LKECluster'
6229
+ properties:
6230
+ label:
6231
+ $ref: '#/components/schemas/LKECluster/properties/label'
6232
+ tags:
6233
+ x-linode-filterable: true
6234
+ type: array
6235
+ items:
6236
+ type: string
6237
+ example:
6238
+ - prod
6239
+ - monitoring
6240
+ - ecomm
6241
+ - blog
6242
+ description: >
6243
+ An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
6244
+ To delete a tag, exclude it from your `tags` array.
6245
+ created:
6246
+ $ref: '#/components/schemas/LKECluster/properties/created'
6247
+ updated:
6248
+ $ref: '#/components/schemas/LKECluster/properties/updated'
6249
+ region:
6250
+ $ref: '#/components/schemas/LKECluster/properties/region'
6251
+ version:
6252
+ $ref: '#/components/schemas/LKECluster/properties/version'
6217
6253
x-code-samples:
6218
6254
- lang: Shell
6219
6255
source: >
6220
6256
curl -H "Content-Type: application/json" \
6221
6257
-H "Authorization: Bearer $TOKEN" \
6222
6258
-X PUT -d '{
6223
6259
"label": "lkecluster54321"
6260
+ "tags" : ["ecomm", "blog", "prod", "monitoring"]
6224
6261
}' \
6225
6262
https://api.linode.com/v4beta/lke/clusters/12345
6226
6263
- lang: CLI
6227
6264
source: >
6228
6265
linode-cli lke cluster-update 12345 \
6229
- --label lkecluster54321
6266
+ --label lkecluster54321 \
6267
+ --tags ecomm \
6268
+ --tags blog \
6269
+ --tags prod \
6270
+ --tags monitoring
6230
6271
delete:
6231
6272
operationId: deleteLKECluster
6232
6273
x-linode-cli-action: cluster-delete
@@ -15719,7 +15760,6 @@ components:
15719
15760
x-linode-filterable: true
15720
15761
example: "1.16"
15721
15762
tags:
15722
- x-linode-filterable: true
15723
15763
example:
15724
15764
- ecomm
15725
15765
- blogs
0 commit comments