The tool kubeadm takes care of setting up all required cryptographic certificates and preparing the node to function as the control plane:
kubeadm
kubeadm init --pod-network-cidr=10.244.0.0/16 --cri-socket "unix:///var/run/containerd/containerd.sock"
we want all our pods to be in this network address range (required by Flannel)
we point it to our local containerd socket
installation of Flannel as our Container Network Interface (CNI):
kubectl apply -f https://github.com/flannel-io/flannel/releases/latest/download/kube-flannel.yml
in any case, if you want to redo the installation:
kubeadm reset
normally, no pods are scheduled on the master node, but this can be changed:
kubectl taint nodes --all node-role.kubernetes.io/control-plane-
(not sure if this is really a good idea though)
There was an error while loading. Please reload this page.
Home
Installation
Install Master Node
Add Compute Nodes
Tools
Recipes
HallOfFame