Skip to content

Commit b175b89

Browse files
authored
Merge pull request #377 from linode/release-4.83.0
Release 4.83.0
2 parents 28bb307 + 2129ec4 commit b175b89

File tree

1 file changed

+189
-4
lines changed

1 file changed

+189
-4
lines changed

openapi.yaml

Lines changed: 189 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.1
22
info:
3-
version: 4.82.0
3+
version: 4.83.0
44

55
title: Linode API
66
description: |
@@ -6517,6 +6517,20 @@ paths:
65176517
description: >
65186518
An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
65196519
To delete a tag, exclude it from your `tags` array.
6520+
k8s_version:
6521+
type: string
6522+
description: >
6523+
The desired Kubernetes version for this Kubernetes cluster in the format of
6524+
<major>.<minor>. New and recycled Nodes in this cluster will be installed with the
6525+
latest available patch for the Cluster's Kubernetes version.
6526+
6527+
6528+
When upgrading the Kubernetes version, only the next latest minor version following the current
6529+
version can be deployed. For example, a cluster with Kubernetes version 1.16 can be upgraded to
6530+
version 1.17, but not directly to 1.18.
6531+
6532+
6533+
The Kubernetes version of a cluster can not be downgraded.
65206534
responses:
65216535
'200':
65226536
description: Returns a single Kubernetes cluster.
@@ -6554,6 +6568,7 @@ paths:
65546568
-X PUT -d '{
65556569
"label": "lkecluster54321"
65566570
"tags" : ["ecomm", "blog", "prod", "monitoring"]
6571+
"k8s_version": "1.17"
65576572
}' \
65586573
https://api.linode.com/v4/lke/clusters/12345
65596574
- lang: CLI
@@ -6726,6 +6741,50 @@ paths:
67266741
linode-cli lke pool-create 12345 \
67276742
--type g6-standard-4 \
67286743
--count 6
6744+
/lke/clusters/{clusterId}/recycle:
6745+
parameters:
6746+
- name: clusterId
6747+
in: path
6748+
description: ID of the Kubernetes cluster to be recycled.
6749+
required: true
6750+
schema:
6751+
type: integer
6752+
x-linode-cli-command: lke
6753+
post:
6754+
operationId: postLKEClusterRecycle
6755+
x-linode-cli-action: cluster-recycle
6756+
security:
6757+
- personalAccessToken: []
6758+
- oauth:
6759+
- lke:read_write
6760+
tags:
6761+
- Linode Kubernetes Engine (LKE)
6762+
summary: Kubernetes Cluster Recycle
6763+
description: |
6764+
Recycles a designated Kubernetes Cluster. All Linodes within the Cluster will be deleted
6765+
and replaced with new Linodes on a rolling basis, which may take several minutes. Replacement Nodes are
6766+
installed with the latest available patch for the Cluster's Kubernetes Version.
6767+
6768+
**Any local storage on deleted Linodes (such as "hostPath" and "emptyDir" volumes, or "local" PersistentVolumes) will be erased.**
6769+
responses:
6770+
'200':
6771+
description: Recycle request succeeded and is in progress.
6772+
content:
6773+
application/json:
6774+
schema:
6775+
type: object
6776+
default:
6777+
$ref: '#/components/responses/ErrorResponse'
6778+
x-code-samples:
6779+
- lang: Shell
6780+
source: >
6781+
curl -H "Content-Type: application/json" \
6782+
-H "Authorization: Bearer $TOKEN" \
6783+
-X POST \
6784+
https://api.linode.com/v4/lke/clusters/12345/recycle
6785+
- lang: CLI
6786+
source: >
6787+
linode-cli lke cluster-recycle 12345
67296788
/lke/clusters/{clusterId}/pools/{poolId}:
67306789
parameters:
67316790
- name: clusterId
@@ -6901,7 +6960,7 @@ paths:
69016960
**Any local storage on deleted Linodes (such as "hostPath" and "emptyDir" volumes, or "local" PersistentVolumes) will be erased.**
69026961
responses:
69036962
'200':
6904-
description: Node Pool has been recycled.
6963+
description: Recycle request succeeded and is in progress.
69056964
content:
69066965
application/json:
69076966
schema:
@@ -6918,6 +6977,132 @@ paths:
69186977
- lang: CLI
69196978
source: >
69206979
linode-cli lke pool-recycle 12345 456
6980+
/lke/clusters/{clusterID}/nodes/{nodeId}:
6981+
parameters:
6982+
- name: clusterId
6983+
in: path
6984+
description: ID of the Kubernetes cluster containing the Node.
6985+
required: true
6986+
schema:
6987+
type: integer
6988+
- name: nodeId
6989+
in: path
6990+
description: ID of the Node to look up.
6991+
required: true
6992+
schema:
6993+
type: string
6994+
x-linode-cli-command: lke
6995+
get:
6996+
operationId: getLKEClusterNode
6997+
x-linode-cli-action: node-view
6998+
security:
6999+
- personalAccessToken: []
7000+
- oauth:
7001+
- lke:read_write
7002+
tags:
7003+
- Linode Kubernetes Engine (LKE)
7004+
summary: Node View
7005+
description: >
7006+
Returns the values for a specified node object.
7007+
responses:
7008+
'200':
7009+
description: Returns the values of a node object in the form that it appears currently in the node pool array.
7010+
content:
7011+
application/json:
7012+
schema:
7013+
type: object
7014+
properties:
7015+
data:
7016+
type: object
7017+
description: >
7018+
The selected node in the cluster.
7019+
properties:
7020+
id:
7021+
type: string
7022+
readOnly: true
7023+
description: >
7024+
The Node's ID.
7025+
example: "12345-6aa78910bc"
7026+
instance_id:
7027+
type: integer
7028+
description: >
7029+
The Linode's ID. If no Linode is currently provisioned for this Node, this is `null`.
7030+
example: 123456
7031+
status:
7032+
type: string
7033+
description: >
7034+
The creation status of this Node. This status is distinct from this Node's readiness as a
7035+
Kubernetes Node Object as determined by the command `kubectl get nodes`.
7036+
7037+
7038+
`not_ready` indicates that the Linode is still being created.
7039+
7040+
7041+
`ready` indicates that the Linode has successfully been created and is running Kubernetes software.
7042+
enum:
7043+
- ready
7044+
- not_ready
7045+
example: ready
7046+
default:
7047+
$ref: '#/components/responses/ErrorResponse'
7048+
x-code-samples:
7049+
- lang: Shell
7050+
source: >
7051+
curl -H "Authorization: Bearer $TOKEN" \
7052+
https://api.linode.com/v4/lke/clusters/12345/nodes/12345-6aa78910bc
7053+
- lang: CLI
7054+
source: >
7055+
linode-cli lke node-view 123456 12345-6aa78910bc
7056+
/lke/clusters/{clusterId}/nodes/{nodeId}/recycle:
7057+
parameters:
7058+
- name: clusterId
7059+
in: path
7060+
description: ID of the Kubernetes cluster containing the Node.
7061+
required: true
7062+
schema:
7063+
type: integer
7064+
- name: nodeId
7065+
in: path
7066+
description: ID of the Node to be recycled.
7067+
required: true
7068+
schema:
7069+
type: string
7070+
x-linode-cli-command: lke
7071+
post:
7072+
operationId: postLKEClusterNodeRecycle
7073+
x-linode-cli-action: pool-recycle
7074+
security:
7075+
- personalAccessToken: []
7076+
- oauth:
7077+
- lke:read_write
7078+
tags:
7079+
- Linode Kubernetes Engine (LKE)
7080+
summary: Node Recycle
7081+
description: |
7082+
Recycles an individual Node in the designated Kubernetes Cluster. The Node will be deleted
7083+
and replaced with a new Linode, which may take a few minutes. Replacement Nodes are
7084+
installed with the latest available patch for the Cluster's Kubernetes Version.
7085+
7086+
**Any local storage on deleted Linodes (such as "hostPath" and "emptyDir" volumes, or "local" PersistentVolumes) will be erased.**
7087+
responses:
7088+
'200':
7089+
description: Recycle request succeeded and is in progress.
7090+
content:
7091+
application/json:
7092+
schema:
7093+
type: object
7094+
default:
7095+
$ref: '#/components/responses/ErrorResponse'
7096+
x-code-samples:
7097+
- lang: Shell
7098+
source: >
7099+
curl -H "Content-Type: application/json" \
7100+
-H "Authorization: Bearer $TOKEN" \
7101+
-X POST \
7102+
https://api.linode.com/v4/lke/clusters/12345/nodes/12345-6aa78910bc/recycle
7103+
- lang: CLI
7104+
source: >
7105+
linode-cli lke node-recycle 12345 12345-6aa78910bc
69217106
/lke/clusters/{clusterId}/api-endpoints:
69227107
parameters:
69237108
- name: clusterId
@@ -6976,7 +7161,7 @@ paths:
69767161
https://api.linode.com/v4/lke/clusters/12345/api-endpoints
69777162
- lang: CLI
69787163
source: >
6979-
linode-cli lke api-endpoint-list 12345
7164+
linode-cli lke api-endpoints-list 12345
69807165
/lke/clusters/{clusterId}/kubeconfig:
69817166
parameters:
69827167
- name: clusterId
@@ -14167,7 +14352,7 @@ paths:
1416714352
source: >
1416814353
curl -H "Content-Type: application/json" \
1416914354
-H "Authorization: Bearer $TOKEN" \
14170-
-X PUT -d '{
14355+
-X POST -d '{
1417114356
"label": "my-volume"
1417214357
}' \
1417314358
https://api.linode.com/v4/volumes/12345

0 commit comments

Comments
 (0)