Kubernetes – Install Master Node

 

I have prepared the bash script to execute all the commands necessary to install on Kubernetes master server.

k8master1.JPG

Check the last command to switch off swap. I have seen this below error when running the #kubeadm init with swap on.

k8master2.JPG

#kubeadm init

k8master3.JPG

As mentioned in above screenshot – We need to copy the configuration to the user which we use to manage cluster.

k8master4.JPG

The Container Network Interface (CNI) defines how the different nodes and their workloads should communicate. There are different products available but here I am using weave-net.

k8master5

The final state of Kubernetes master

k8master6.JPG

 

 

Leave a comment