Notes on setting up a Kubernetes cluster on CoreOS (stable) with DigitalOcean's platform.
Partially stolen from this guide by kevashcraft
- Spin up 4 VMs with CoreOS Stable. One will be the master, the other 3 will be workers
- Tag them with
k8s:master
andk8s:worker
respectively, along with a tag for the cluster - Droplets can be created via your DO control panel, or by using doctl. Just change the
CLUSTER_NAME
,CLUSTER_DOMAIN
, andSSHKEY_ID
values below to match your own, then save the file tocluster_create.sh
,chmod +x cluster_create.sh
, then run it./cluster_create.sh
. If you don't already have doctl setup, it will probably be easier to just do this from the DO control panel if you only need to do a one-time setup for development.