menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Devops News

>

Setting up...
source image

Dev

1M

read

267

img
dot

Image Credit: Dev

Setting up a Kubernetes cluster with Kubeadm and Containerd

  • This tutorial outlines the process of setting up a Kubernetes cluster using Kubeadm and Containerd on an Ubuntu server 24.04 LTS.
  • Ensure IPv4 packet forwarding is enabled to allow the network to function correctly.
  • Install necessary dependencies like ca-certificates, curl, and apt-transport-https.
  • Download containerd.io by adding Docker repository and installing it on the system.
  • Configure systemd cgroup driver for containerd to ensure proper execution.
  • Install kubeadm, kubelet, and kubectl, followed by enabling the kubelet service.
  • On the control plane node, initialize the Kubernetes control plane with a specified network CIDR.
  • Create a non-root user, set up the Kubernetes config file, and deploy a Container Network Interface (CNI) like Calico operator.
  • For worker nodes, join the cluster using the kubeadm join command and assign the worker role.
  • Check the worker node status and label the node to ensure it has obtained the worker role.

Read Full Article

like

16 Likes

For uninterrupted reading, download the app