Skip to main content

Setup Kubeconfig on a Droplet

Download Kubeconfig

  1. Open from menu Manage > Kubernetes.
  2. Click your target Kubernetes cluster.
  3. From Overview, click Download Config File.

k8s-download-kubeconfig.PNG

Upload Kubeconfig via SSH

Setup Kubeconfig

Run this following commands:

mkdir -p ~/.kube
cp ~/k8s/kubeconfig.yaml ~/.kube/config