← Back to blog
bpdubuntu

Initializing Your Kubernetes Cluster with `kubeadm init`

30 October 2025bpd · ubuntu

Bringing Your Control Plane to Life

With your master node prepared, the ‘Ubuntu System Administration Guide’ walks you through the pivotal `kubeadm init` command. This single command bootstraps the entire Kubernetes control plane, turning your Ubuntu server into a functioning cluster master.

The Initialization Command

The core command looks like this:

kubeadm init --pod-network-cidr=10.244.0.0/16

This command downloads the necessary control plane container images, generates the required TLS certificates for secure communication, and starts the API server, scheduler, and other master components. The `–pod-network-cidr` flag is crucial; it defines the internal IP address range that will be used for your Pods.

The All-Important Join Command

Upon successful completion, `kubeadm init` will output a `kubeadm join` command containing a token and a certificate hash. You will run this exact command on your worker nodes to securely connect them to the master, completing your cluster setup.


This post is based from content of the book Ubuntu System adminstration guide. And the book can be found here https://www.amazon.com/stores/Mattias-Hemmingsson/author/B0FF5CQX13