diff --git a/openapi.yaml b/openapi.yaml index cd4457b97..5bd702b79 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -8597,7 +8597,7 @@ paths: -X POST -d '{ "label": "cluster12345", "region": "us-central", - "k8s_version": "1.21", + "k8s_version": "1.23", "tags": ["ecomm", "blogs"], "control_plane": { "high_availability": true @@ -8624,9 +8624,13 @@ paths: linode-cli lke cluster-create \ --label cluster12345 \ --region us-central \ - --k8s_version 1.21 \ + --k8s_version 1.23 \ + --control_plane.high_availability true \ --node_pools.type g6-standard-4 --node_pools.count 6 \ --node_pools.type g6-standard-8 --node_pools.count 3 \ + --node_pools.autoscaler.enabled true \ + --node_pools.autoscaler.max 12 \ + --node_pools.autoscaler.min 3 \ --tags ecomm /lke/clusters/{clusterId}: parameters: @@ -8779,6 +8783,8 @@ paths: source: > linode-cli lke cluster-update 12345 \ --label lkecluster54321 \ + --control_plane.high_availability true \ + --k8s_version 1.23 \ --tags ecomm \ --tags blog \ --tags prod \ @@ -8940,7 +8946,10 @@ paths: linode-cli lke pool-create 12345 \ --type g6-standard-4 \ --count 6 \ - --tags example-tag + --tags example-tag \ + --autoscaler.enabled true \ + --autoscaler.max 12 \ + --autoscaler.min 3 /lke/clusters/{clusterId}/recycle: parameters: - name: clusterId @@ -9051,6 +9060,8 @@ paths: properties: count: $ref: '#/components/schemas/LKENodePoolRequestBody/properties/count' + autoscaler: + $ref: '#/components/schemas/LKENodePoolRequestBody/properties/autoscaler' responses: '200': description: Node Pool was successfully modified. @@ -9064,13 +9075,20 @@ paths: curl -H "Content-Type: application/json" \ -H "Authorization: Bearer $TOKEN" \ -X PUT -d '{ - "count": 6 + "count": 6, + "autoscaler": { + "enabled": true, + "max": 12, + "min": 3 }' \ https://api.linode.com/v4/lke/clusters/12345/pools/456 - lang: CLI source: > linode-cli lke pool-update 12345 456 \ --count 6 \ + --autoscaler.enabled true \ + --autoscaler.max 12 \ + --autoscaler.min 3 delete: operationId: deleteLKENodePool x-linode-cli-action: pool-delete @@ -9582,11 +9600,10 @@ paths: - lang: Shell source: > curl -H "Authorization: Bearer $TOKEN" \ - https://api.linode.com/v4/lke/versions/1.21 + https://api.linode.com/v4/lke/versions/1.23 - lang: CLI source: > - linode-cli lke version-view 1.21 - /longview/clients: + linode-cli lke version-view 1.23 x-linode-cli-command: longview get: x-linode-grant: read_only @@ -21120,7 +21137,7 @@ components: description: > The desired Kubernetes version for this Kubernetes cluster in the format of <major>.<minor>, and the latest supported patch version will be deployed. - example: "1.21" + example: "1.23" control_plane: type: object description: > @@ -21321,7 +21338,7 @@ components: A Kubernetes version number available for deployment to a Kubernetes cluster in the format of <major>.<minor>, and the latest supported patch version. - example: "1.21" + example: "1.23" LongviewClient: type: object description: >