Introduction
This repo contains instructions and code to setup a K8s cluster using Kubeadm on Debian and RHEL based systems. In the script you can set the required K8s version.
Procedure
- Prepare Linux machines
- Create K8s cluster using Kubeadm and install prerequisites
- Install Otomi
Project structure
.
├── nodes # Scripts to prepare master and worker node OS
├──debian
├──prep-master
├──prep-worker
|__rhel
├──prep-master
├──prep-worker
├── kubeadm # Scripts to create K8s cluster and install
Calico, Metallb and Local-path provisioner and add worker nodes to the cluster.
├──master
├──node
|__ otomi # Script to install Otomi
Notes
- Otomi generates a CA to sign all certs. The generated CA needs to be added to the nodes
- Add the host names of the master(s) and workers to the /etc/hosts file