Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Create DOKS clusters
doctl k8s cluster create do-demo-blr1 --region blr1 --size s-4vcpu-8gb --count=1
doctl k8s cluster create do-demo-sgp1 --region sgp1 --size s-4vcpu-8gb --count=1
doctl k8s cluster create do-demo-lon1 --region lon1 --size s-4vcpu-8gb --count=1
# Configure kubeconfig
doctl k8s clusters kubeconfig save do-demo-blr1
doctl k8s clusters kubeconfig save do-demo-sgp1
doctl k8s clusters kubeconfig save do-demo-lon1
# Rename the context
kubectx lon1=do-lon1-do-demo-lon1
kubectx sgp1=do-sgp1-do-demo-sgp1
kubectx blr1=do-blr1-do-demo-blr1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment