Instructions
- Create kubernetes cluster on DigitalOcean
-
Install
doctl
DigitalOcean CLI tool
brew install doctl
-
Install
kubectl
command line tool for kubernetes
brew install kubectl
- Get a list of your DigitalOcean kubernetes clusters
doctl kubernetes cluster list
- Save the kubernetes .kubeconfig file using doctl
doctl kubernetes cluster kubeconfig save $cluster_name
- Go to your rancher install
-
Click
Add Cluster
, selectImport
under Import Existing Cluster and clickCreate
- Copy the kubectl command given to you in the next screen and paste into your terminal
Screencast
Resources
Get More!