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

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s