redkubes / kubeadm

Instructions for creating K8s clusters using Kubeadm on Debian and RHEL based systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Prepare Linux machines
  2. Create K8s cluster using Kubeadm and install prerequisites
  3. 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

About

Instructions for creating K8s clusters using Kubeadm on Debian and RHEL based systems


Languages

Language:Shell 100.0%