File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -6727,6 +6727,52 @@ paths:
67276727 - lang: CLI
67286728 source: >
67296729 linode-cli lke pool-delete 12345 456
6730+ /lke/clusters/{clusterId}/pools/{poolId}/recycle:
6731+ parameters:
6732+ - name: clusterId
6733+ in: path
6734+ description: ID of the Kubernetes cluster this Node Pool is attached to.
6735+ required: true
6736+ schema:
6737+ type: integer
6738+ - name: poolId
6739+ in: path
6740+ description: ID of the Node Pool to be recycled.
6741+ required: true
6742+ schema:
6743+ type: integer
6744+ x-linode-cli-command: lke
6745+ post:
6746+ operationId: postLKEClusterPoolRecycle
6747+ x-linode-cli-action: pool-recycle
6748+ security:
6749+ - personalAccessToken: []
6750+ - oauth:
6751+ - lke:read_write
6752+ tags:
6753+ - Linode Kubernetes Engine (LKE)
6754+ summary: Recycle Node Pool
6755+ description: |
6756+ Recycles a Node Pool for the designated Kubernetes Cluster. All Linodes within the Node Pool will be deleted
6757+ and replaced with new Linodes on a rolling basis, which may take several minutes. Replacement Nodes are
6758+ installed with the latest available patch for the Cluster's Kubernetes Version.
6759+
6760+ **Any local storage on deleted Linodes (such as "hostPath" and "emptyDir" volumes, or "local" PersistentVolumes) will be erased.**
6761+ responses:
6762+ '200':
6763+ description: Node Pool has been recycled.
6764+ default:
6765+ $ref: '#/components/responses/ErrorResponse'
6766+ x-code-samples:
6767+ - lang: Shell
6768+ source: >
6769+ curl -H "Content-Type: application/json" \
6770+ -H "Authorization: Bearer $TOKEN" \
6771+ -X POST \
6772+ https://api.linode.com/v4/lke/clusters/12345/pools/456/recycle
6773+ - lang: CLI
6774+ source: >
6775+ linode-cli lke pool-recycle 12345 456
67306776 /lke/clusters/{clusterId}/api-endpoints:
67316777 parameters:
67326778 - name: clusterId
You can’t perform that action at this time.
0 commit comments