menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Devops News

>

How to Cre...
source image

Dev

2d

read

42

img
dot

Image Credit: Dev

How to Create Kubernetes(K8s) Cluster Home Lab using Ubuntu Server 24.04

  • To create a Kubernetes cluster home lab using Ubuntu Server 24.04, set up two nodes - a master node (kb1) and a worker node (kb2) with specific configurations.
  • Configure the nodes by changing the hostname, updating the host file for network communication, disabling swap, and loading kernel modules.
  • Install Containerd on all nodes to manage container runtimes efficiently and add the Kubernetes package repository to install components like Kubeadm, Kubelet, and Kubectl.
  • Initialize the Kubernetes cluster on the master node using Kubeadm and join worker nodes to the cluster.
  • Install the Calico network plugin to enable network communication between nodes and ensure they are Ready status.
  • Test the Kubernetes installation by creating and exposing an NGINX deployment, checking namespace and deployment status, exposing a service, and accessing the application.

Read Full Article

like

2 Likes

For uninterrupted reading, download the app