Setup - Digital Ocean
Setting up a Kubernetes Cluster with Digital Ocean (DO)
Last updated
Was this helpful?
Was this helpful?
brew install doctl
doctl auth init --context <NAME>
doctl auth switch --context <NAME>
doctl account getbrew install kubernetes-clibrew install wget
brew install jqmake dodoctl kubernetes cluster kubeconfig save <use_your_cluster_name>
kubectl versionNotice: Adding cluster credentials to kubeconfig file found in "/home/user/.kube/config"
Notice: Setting current-context to do-<region_name>-<cluster_name>$ kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-16T06:30:04Z", GoVersion:"go1.14.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:51:04Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}kubectl get nodes
NAME STATUS ROLES AGE VERSION
<cluster_name>-pool-5xhc1 READY <none> 6m v1.18.6