GET
/
project
/
{project_id}
/
location
/
{location}
/
kubernetes-cluster
/
{kubernetes_cluster_reference}
/
kubeconfig
Get kubeconfig.yaml of a specific KubernetesCluster in a location
curl --request GET \
  --url https://api.ubicloud.com/project/{project_id}/location/{location}/kubernetes-cluster/{kubernetes_cluster_reference}/kubeconfig \
  --header 'Authorization: Bearer <token>'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

location
string
required

The Ubicloud location/region

Example:

"eu-central-h1"

kubernetes_cluster_reference
string
required

Kubernetes cluster ID or name

Response

200
text/plain

A Kubernetes Cluster configuration file

The response is of type any.