Download kubeconfig
- Open the cluster detail page
- Click Download Kubeconfig (top right). The file is saved as
<cluster-slug>-kubeconfig.yaml - Point
kubectlat the downloaded file:
export KUBECONFIG=~/Downloads/<cluster-slug>-kubeconfig.yaml
kubectl get nodesThe Access tab on the cluster detail page shows this command with your cluster's actual file name, and lets you copy the raw kubeconfig contents directly.
Pulling private images
To pull images from a private container registry, create an image pull secret with your registry's credentials:
kubectl create secret docker-registry regcred \
--docker-server=<your-registry-host> \
--docker-username=<your-username> \
--docker-password=<your-token>Then reference it in your pod spec:
spec:
imagePullSecrets:
- name: regcred