We will be installing Fedora CoreOS along with kubelet and kubeadm on all of our 3 hosts.
The OS have docker pre-installed.
The CoreOS image can be downloaded here.
Once we have CoreOS we need to install it on to our VM for lab purpose.
CoreOS Bare Metal installation required at least
Reference: https://docs.fedoraproject.org/en-US/fedora-coreos/producing-ign/
We need three things to be ready before hand.
Our RSA Public Key for sshing into the hosts
Ignition config file (.ign
) for easily setting up the CoreOS
We will call it coreos.etcd.ign
HTTP Server for serving coreos.etcd.ign
file for the simplicity's sake
Note: We could create the file on the node and refer to it locally. But we have to do it for all 3 nodes. It will be tiresome!
In our case, the RSA Public Key looks like this
ssh-rsa ABC [email protected]
Preparing cloud-config.yml