Skip to content

Emanuele94/My-K8s-Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 

Repository files navigation

Kubernetes Setup Script

This script automates the setup process for Kubernetes on a Ubuntu 22 system using containerd as the container runtime. It installs the necessary dependencies and configures containerd according to Kubernetes requirements.

Prerequisites

Make sure you have the following prerequisites installed on your system:

  • root access
  • Ubuntu 22 Linux distribution (the script is designed for Ubuntu)
  • Internet connection for package downloads

How to use:

On Control-plane node:

  • execute install-requirements.sh.
  • execute init-master-k8s.sh

On Worker node:

  • execute isntall-requirements.sh
  • use the output-node file (in control-plane node) to complete the kubeadm join using the string present at the end of the file. It will look like this: kubeadm join 172.26.0.3:6443 --token 6eaodn.fzk7sbwxqwezd2gb
    --discovery-token-ca-cert-hash sha256:2d7cec2915b26a2b4869783805cc78bf82ac0437fbbd033ed0c720d044f1b140

Docs used

About

Deploy a basic k8s cluster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages