Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 26 additions & 9 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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: >
Expand Down Expand Up @@ -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: >
Expand Down