Regenerate a Kubernetes cluster

Regenerate the Kubeconfig file and/or the service account token for a Cluster.

This is a helper operation that allows performing both the Delete a Kubeconfig and the Delete a service token operations with a single request.

When using this operation, at least one of kubeconfig or servicetoken is required.

Note. When regenerating a service account token, the Cluster's control plane components and Linode CSI drivers are also restarted and configured with the new token. High Availability Clusters should not experience any disruption, while standard Clusters may experience brief control plane downtime while components are restarted.

linode-cli lke regenerate 12345 \
    --kubeconfig true \
    --servicetoken true

<https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>
lke:read_write

<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>
Language
Credentials
Click Try It! to start a request and see the response here!