Skip to main content

kubeadm

kubeadm

kubeadm is used to build clusters.

Full process to create a cluster

The basic steps to join other nodes to the cluster:

  1. Retrieve a token and a SHA256 hash returned by:
# on to be master node
kubeadm init
  1. Once the master is initialized, we would apply a network plugin (e.g. calico).

  2. Create a network for IP-per-Pod criteria. For example, using Weave:

kubectl create -f https://git.io/weave-kube
  1. Run the following command on the worker nodes:
# on worker node
kubeadm join --token $token $master_node_ip