DEPRECATED in favor of ondrejsika/terraform-demo-k8s
Ondrej Sika <ondrej@ondrejsika.com>
https://github.com/ondrejsika/terraform-do-kubernetes-example
brew install kubernetes-cli
brew install terraform
git clone git@github.com:ondrejsika/terraform-do-kubernetes-example.git
terraform init
terraform plan
terraform apply -auto-approve
If you need latest version of Digital Ocean's Kubernetes, use this:
doctl kubernetes options versions
terraform output kubeconfig > kubeconfig
export KUBECONFIG=$(pwd)/kubeconfig
kubectl cluster-info
kubectl get nodes
terraform destroy -auto-approve