@@ -6132,7 +6132,8 @@ paths:
61326132 --region us-central \
61336133 --version 1.16 \
61346134 --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
61366137 /lke/clusters/{clusterId}:
61376138 parameters:
61386139 - name: clusterId
@@ -6207,26 +6208,66 @@ paths:
62076208 properties:
62086209 label:
62096210 $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.
62106223 responses:
62116224 '200':
62126225 description: Returns a single Kubernetes cluster.
62136226 content:
62146227 application/json:
62156228 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'
62176253 x-code-samples:
62186254 - lang: Shell
62196255 source: >
62206256 curl -H "Content-Type: application/json" \
62216257 -H "Authorization: Bearer $TOKEN" \
62226258 -X PUT -d '{
62236259 "label": "lkecluster54321"
6260+ "tags" : ["ecomm", "blog", "prod", "monitoring"]
62246261 }' \
62256262 https://api.linode.com/v4beta/lke/clusters/12345
62266263 - lang: CLI
62276264 source: >
62286265 linode-cli lke cluster-update 12345 \
6229- --label lkecluster54321
6266+ --label lkecluster54321 \
6267+ --tags ecomm \
6268+ --tags blog \
6269+ --tags prod \
6270+ --tags monitoring
62306271 delete:
62316272 operationId: deleteLKECluster
62326273 x-linode-cli-action: cluster-delete
@@ -15719,7 +15760,6 @@ components:
1571915760 x-linode-filterable: true
1572015761 example: "1.16"
1572115762 tags:
15722- x-linode-filterable: true
1572315763 example:
1572415764 - ecomm
1572515765 - blogs
0 commit comments