You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.yaml
+110Lines changed: 110 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11071,6 +11071,116 @@ paths:
11071
11071
- lang: CLI
11072
11072
source: >
11073
11073
linode-cli lke kubeconfig-delete 12345
11074
+
/lke/clusters/{clusterId}/regenerate:
11075
+
parameters:
11076
+
- name: clusterId
11077
+
in: path
11078
+
description: ID of the target Kubernetes cluster.
11079
+
required: true
11080
+
schema:
11081
+
type: integer
11082
+
x-linode-cli-command: lke
11083
+
post:
11084
+
operationId: postLKEClusterRegenerate
11085
+
x-linode-cli-action: regenerate
11086
+
security:
11087
+
- personalAccessToken: []
11088
+
- oauth:
11089
+
- lke:read_write
11090
+
tags:
11091
+
- Linode Kubernetes Engine (LKE)
11092
+
summary: Kubernetes Cluster Regenerate
11093
+
description: |
11094
+
Regenerate the Kubeconfig file and/or the service account token for a Cluster.
11095
+
11096
+
This is a helper command that allows performing both the [Kubeconfig Delete](#kubeconfig-delete) and the [Service Token Delete](#service-token-delete) actions with a single request.
11097
+
11098
+
When using this command, at least one of `kubeconfig` or `servicetoken` is required.
11099
+
11100
+
**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.
11101
+
requestBody:
11102
+
description: The Kubernetes Cluster Regenerate request object.
11103
+
content:
11104
+
application/json:
11105
+
schema:
11106
+
properties:
11107
+
kubeconfig:
11108
+
type: boolean
11109
+
default: false
11110
+
example: true
11111
+
description: |
11112
+
Whether to delete and regenerate the Kubeconfig file for this Cluster.
11113
+
servicetoken:
11114
+
type: boolean
11115
+
default: false
11116
+
example: true
11117
+
description: |
11118
+
Whether to delete and regenerate the service access token for this Cluster.
Delete and regenerate the service account token for a Cluster.
11164
+
11165
+
**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.
11166
+
responses:
11167
+
'200':
11168
+
description: Service token deleted and regenerated successfully.
0 commit comments