Skip to content

kube-lib/kube-config

API bindPort for Cluster (default 6443)

Param is set (output) by the cluster building process

To use the file, use one of the following:

  • save to $HOME/.kube
  • export KUBECONFIG=[file]
  • pass --kubeconfig=[kube.config] to the kubectl or other tools.

If your cluster is using the default cluster01 then tou can retrieve the kube.config file using:

drpcli profiles get cluster01 param  kube-lib/kube-config --decode > kube.config

Note

This is stored as a secure object so the decode is required.