Installation/configuration of kubeadm.

1.0K    Asked by JenniferFraser in Devops , Asked on Feb 11, 2020
Answered by Jennifer Fraser

Before installing kubeadm there are some prerequisites which need to be taken care of.

To make sure that all respective firewall openings are done.

To disable selinux/firewalld or respective ip table rule should be created to allow the traffic.

To verify the MAC address and product UUID should be unique for every node.

Allowing iptables to see bridged traffic.

Allowing required ports.

Use below commands to install kubeadm & kubectl.

sudo apt-get update && sudo apt-get install -y apt-transport-https curl

curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -

cat <

deb https://apt.kubernetes.io/ kubernetes-xenial main

EOF

sudo apt-get update

sudo apt-get install -y kubelet kubeadm kubectl

sudo apt-mark hold kubelet kubeadm kubectl



Your Answer

Interviews

Parent Categories