Create a kubernetes cluster

Konstantinos Patronas
LinuxStories
Published in
2 min readMar 29, 2021

--

This tutorial has been tested with an ubuntu 18.04 distribution and its purpose is to create a controller host and any number of worker hosts.

The bellow steps must executed to all hosts of the cluster

Containerd

We will use containerd as CRI runtime, this means that we need to enable and load some kernel modules and do some network configuration changes as well.

Execute the following as root or with sudo

cat <<EOF | sudo tee /etc/modules-load.d/containerd.conf
overlay

--

--

Konstantinos Patronas
LinuxStories

DevOps engineer, loves Linux, Python, cats and Rock music