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
+106Lines changed: 106 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11071,6 +11071,112 @@ 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
+
requestBody:
11100
+
description: The Kubernetes Cluster Regenerate request object.
11101
+
content:
11102
+
application/json:
11103
+
schema:
11104
+
properties:
11105
+
kubeconfig:
11106
+
type: boolean
11107
+
default: false
11108
+
example: true
11109
+
description: |
11110
+
Whether to delete and regenerate the Kubeconfig file for this Cluster.
11111
+
servicetoken:
11112
+
type: boolean
11113
+
default: false
11114
+
example: true
11115
+
description: |
11116
+
Whether to delete and regenerate the service access token for this Cluster.
0 commit comments