3. Deploy cluster using Vagrant
Dependencies:
1) VirtualBox
2) Vagrant
3) Curl
Downloading the required file:
4. Deploying a Kubernetes master and two Kubernetes nodes:
To run more nodes, we need to modify the value num_instances in the
Vagrantfile before running vagrant up.
5. Connecting to our servers:
For Windows OS:
We can get instructions from https://github.com/nickryand/vagrant-multi-
putty
For Linux/Mac OS :
6. Verifying the environment:
We can see have three CoreOS Container Linux servers:
We will check if they are able to ping each other:
From k8s-master:
8. We can also verify each host can access etcd. The following command will
return an error if etcd is not available.
And can check Docker is running on both hosts by running :
So we have now a basic three node CoreOS cluster setup
9. For more information visit
https://www.projectcalico.org/
https://docs.projectcalico.org/v2.6/introduction/
https://blog.tigera.io/tagged/calico