Skip to navigation

Get Kubernetes cluster configuration

Returns the kubeconfig file content for connecting to the cluster. The kubeconfig grants full access to the cluster, so this requires Kubernetes manage access (a read-write API key).

Authentication

AuthorizationBearer

API token, for example amcld_.... Create one in the dashboard.

Path parameters

idstringRequired
ID of the Kubernetes cluster

Response

The kubeconfig content
configdatastring

The kubeconfig file content for connecting to the cluster. YAML-encoded; pipe to ~/.kube/config or merge into an existing kubeconfig.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error