control pane cluster
Step 1: Prepare the System
Configure kernel modules by creating a configuration file:
cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
overlay
br_netfilter
EOF
Load the required kernel modules:
sudo modprobe overlay
sudo modprobe br_netfilter
sudo sysctl --system
Step 2: Install Container Runtimes
Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
Add the Docker repository to Apt sources:
Install containerd.io:
Step 3: Install Container Networking Plugins
Download and install CNI plugins:
Edit the containerd configuration:
Add the following configuration under
You need CRI support enabled to use containerd with Kubernetes. Make sure that
criis not included in thedisabled_pluginslist within/etc/containerd/config.toml;
Restart containerd:
Step 4: Install Kubernetes Tools
Install necessary tools and set up the Kubernetes repository:
List available versions of kubeadm:
Install kubeadm, kubelet, and kubectl (replace 1.28.0 with your desired version):
Step 5: Initialize Kubernetes Control Plane
Pull the required container images:
Initialize the Kubernetes control plane (replace 1.28.0 with your desired version):
Follow these steps carefully to set up your Kubernetes control plane successfully. Make sure to adjust the versions and configurations as needed for your specific requirements. At the end of the steps, your instance must be configured.

To start the cluster you need the following steps:
Run the mentioned commands with
rootuser
Now we need to install the network plugin in Kubernetes.
Can be installed onto your CNI-enabled Kubernetes cluster with a single command:
After completing this process, you now have your control plane cluster installed and configured.
To test whether it is working as expected, you can check the node status.

Last updated