Skip to content

Commit 23c6a15

Browse files
author
rsyracuse
committed
update-samples
1 parent 7af0ce7 commit 23c6a15

File tree

1 file changed

+24
-9
lines changed

1 file changed

+24
-9
lines changed

openapi.yaml

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8597,7 +8597,7 @@ paths:
85978597
-X POST -d '{
85988598
"label": "cluster12345",
85998599
"region": "us-central",
8600-
"k8s_version": "1.21",
8600+
"k8s_version": "1.23",
86018601
"tags": ["ecomm", "blogs"],
86028602
"control_plane": {
86038603
"high_availability": true
@@ -8624,9 +8624,13 @@ paths:
86248624
linode-cli lke cluster-create \
86258625
--label cluster12345 \
86268626
--region us-central \
8627-
--k8s_version 1.21 \
8627+
--k8s_version 1.23 \
8628+
--control_plane.high_availability true \
86288629
--node_pools.type g6-standard-4 --node_pools.count 6 \
86298630
--node_pools.type g6-standard-8 --node_pools.count 3 \
8631+
--node_pools.autoscaler.enabled true \
8632+
--node_pools.autoscaler.max 12 \
8633+
--node_pools.autoscaler.min 3 \
86308634
--tags ecomm
86318635
/lke/clusters/{clusterId}:
86328636
parameters:
@@ -8779,6 +8783,8 @@ paths:
87798783
source: >
87808784
linode-cli lke cluster-update 12345 \
87818785
--label lkecluster54321 \
8786+
--control_plane.high_availability true \
8787+
--k8s_version 1.23 \
87828788
--tags ecomm \
87838789
--tags blog \
87848790
--tags prod \
@@ -8940,7 +8946,10 @@ paths:
89408946
linode-cli lke pool-create 12345 \
89418947
--type g6-standard-4 \
89428948
--count 6 \
8943-
--tags example-tag
8949+
--tags example-tag \
8950+
--autoscaler.enabled true \
8951+
--autoscaler.max 12 \
8952+
--autoscaler.min 3
89448953
/lke/clusters/{clusterId}/recycle:
89458954
parameters:
89468955
- name: clusterId
@@ -9066,13 +9075,20 @@ paths:
90669075
curl -H "Content-Type: application/json" \
90679076
-H "Authorization: Bearer $TOKEN" \
90689077
-X PUT -d '{
9069-
"count": 6
9078+
"count": 6,
9079+
"autoscaler": {
9080+
"enabled": true,
9081+
"max": 12,
9082+
"min": 3
90709083
}' \
90719084
https://api.linode.com/v4/lke/clusters/12345/pools/456
90729085
- lang: CLI
90739086
source: >
90749087
linode-cli lke pool-update 12345 456 \
90759088
--count 6 \
9089+
--autoscaler.enabled true \
9090+
--autoscaler.max 12 \
9091+
--autoscaler.min 3
90769092
delete:
90779093
operationId: deleteLKENodePool
90789094
x-linode-cli-action: pool-delete
@@ -9584,11 +9600,10 @@ paths:
95849600
- lang: Shell
95859601
source: >
95869602
curl -H "Authorization: Bearer $TOKEN" \
9587-
https://api.linode.com/v4/lke/versions/1.21
9603+
https://api.linode.com/v4/lke/versions/1.23
95889604
- lang: CLI
95899605
source: >
9590-
linode-cli lke version-view 1.21
9591-
/longview/clients:
9606+
linode-cli lke version-view 1.23
95929607
x-linode-cli-command: longview
95939608
get:
95949609
x-linode-grant: read_only
@@ -21122,7 +21137,7 @@ components:
2112221137
description: >
2112321138
The desired Kubernetes version for this Kubernetes cluster in the format of <major>.<minor>,
2112421139
and the latest supported patch version will be deployed.
21125-
example: "1.21"
21140+
example: "1.23"
2112621141
control_plane:
2112721142
type: object
2112821143
description: >
@@ -21323,7 +21338,7 @@ components:
2132321338
A Kubernetes version number available for deployment
2132421339
to a Kubernetes cluster in the format of <major>.<minor>,
2132521340
and the latest supported patch version.
21326-
example: "1.21"
21341+
example: "1.23"
2132721342
LongviewClient:
2132821343
type: object
2132921344
description: >

0 commit comments

Comments
 (0)