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.

Hardware Requirements

CoreOS Bare Metal installation required at least

Before we Begin

Reference: https://docs.fedoraproject.org/en-US/fedora-coreos/producing-ign/

We need three things to be ready before hand.

  1. Our RSA Public Key for sshing into the hosts

  2. Ignition config file (.ign) for easily setting up the CoreOS

    We will call it coreos.etcd.ign

  3. 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!

Preparing RSA Public Key

In our case, the RSA Public Key looks like this

ssh-rsa ABC [email protected]

Preparing cloud-config.yml

Preparing CoreOS Configuration (FCC) file