ByCloud Docs
GuidesCLIAPISDK

Get cluster kubeconfig

bycloud kubernetes clusters-kubeconfig list --cluster_id <cluster_id> [flags]

Get the kubeconfig file for a Kubernetes cluster

Options

--cluster_id

stringrequired

Kubernetes Cluster ID

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

Command

bycloud kubernetes clusters-kubeconfig list \
--cluster_id "abc-123"

Output

KUBECONFIG YXBpVmVyc2lvbjogdjEK...