Connecting with kubectl
Download kubeconfig
- Open the cluster detail page
- Click Download kubeconfig
- Move the file to
~/.kube/configor setKUBECONFIG:
export KUBECONFIG=~/Downloads/your-cluster.yaml
kubectl get nodes
Connecting a container registry
To pull private images into your cluster, create an image pull secret:
kubectl create secret docker-registry regcred \
--docker-server=registry.yourplatform.com \
--docker-username=<your-username> \
--docker-password=<your-token>
Then reference it in your pod spec:
spec:
imagePullSecrets:
- name: regcred