Generate Kubeconfig
Generate kubeconfig file for corresponding cluster
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/tkgClusters/{urn}/kubeconfig
COPY
Path Parameters
string
urn
Required
A URN corresponding to a Kubernetes cluster previously created by a POST to OpenAPI tkgClusters endpoint.
Responses
202
The request have been accepted and the task to monitor the request is in the Location header.
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/tkgClusters/{urn}/kubeconfig
Availability
Added in 40.0.0-alpha
K8s Cluster Operations
GET
Query K 8s Clusters
POST
Create K 8s Cluster
GET
Get K 8s Cluster
PUT
Update K 8s Cluster
DELETE
Delete K 8s Cluster
POST
Generate Kubeconfig