How to Install Kubernetes Master Node: Step-by-Step Process

Setting Up a Kubernetes Cluster on Ubuntu Server 22.04.3 LTS

In this guide, we will walk through the steps to set up a Kubernetes cluster with containerd as the container runtime on Ubuntu Server 22.04.3 LTS. We will cover the installation on three nodes, including the control plane and worker nodes.

Prerequisites

  • 3 Nodes, each with 2 vCPU, 8 GB RAM, and 50GB Disk
  • Operating System: Ubuntu Server 22.04.3 LTS
  • Kubernetes Version: 1.29.1

Node Details:

  • k8smaster01: 192.168.0.221 (Master Node)
  • k8s-node1: 192.168.0.222 (Worker Node 1)
  • k8s-node2: 192.168.0.223 (Worker Node 2)

Setup on All Nodes

Installing Kubernetes Components

Control Plane Node Setup (k8smaster01)

Worker Node Setup (k8s-node1 and k8s-node2)

Conclusion

You now have a basic Kubernetes cluster set up using containerd on Ubuntu Server 22.04.3 LTS. You can start deploying your applications and scaling your infrastructure using Kubernetes. Remember to keep your Kubernetes components and system packages updated regularly.

Leave a Reply

Your email address will not be published. Required fields are marked *