Skip to content

Commit 7b78b74

Browse files
author
hzoppetti
committed
new lke node pool recycle endpoint
1 parent 6402b9a commit 7b78b74

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

openapi.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6726,6 +6726,48 @@ paths:
67266726
- lang: CLI
67276727
source: >
67286728
linode-cli lke pool-delete 12345 456
6729+
/lke/clusters/{clusterId}/pools/{poolId}/recycle:
6730+
parameters:
6731+
- name: clusterId
6732+
in: path
6733+
description: ID of the Kubernetes cluster to this Node Pool is attached to.
6734+
required: true
6735+
schema:
6736+
type: integer
6737+
- name: poolId
6738+
in: path
6739+
description: ID of the Kubernetes pool to be recycled.
6740+
required: true
6741+
schema:
6742+
type: integer
6743+
x-linode-cli-command: lke
6744+
post:
6745+
operationId: postLKEClusterPoolsRecycle
6746+
x-linode-cli-action: cluster-recycle
6747+
security:
6748+
- personalAccessToken: []
6749+
- oauth:
6750+
- lke:read_write
6751+
tags:
6752+
- Linode Kubernetes Engine (LKE)
6753+
summary: Recycle Node Pool
6754+
description: >
6755+
Recycles a Node Pool for the designated Kubernetes Cluster.
6756+
responses:
6757+
'200':
6758+
description: Node Pool has been recycled.
6759+
default:
6760+
$ref: '#/components/responses/ErrorResponse'
6761+
x-code-samples:
6762+
- lang: Shell
6763+
source: >
6764+
curl -H "Content-Type: application/json" \
6765+
-H "Authorization: Bearer $TOKEN" \
6766+
-X POST \
6767+
https://api.linode.com/v4/lke/clusters/12345/pools/456/recycle
6768+
- lang: CLI
6769+
source: >
6770+
linode-cli lke cluster-recycle 12345 456
67296771
/lke/clusters/{clusterId}/api-endpoints:
67306772
parameters:
67316773
- name: clusterId

0 commit comments

Comments
 (0)