On this page
article
pre-requisites
Includes configuring pre-requisites to install kubeadm
Includes configuring pre-requisites to install kubeadm
step 01) Enable following ports and protcols
step 02)
sysctl params required by setup, params persist across reboots
Apply sysctl params without reboot
Verify that the br_netfilter, overlay modules are loaded
Verify that the net.bridge.bridge-nf-call-iptables, net.bridge.bridge-nf-call-ip6tables, and net.ipv4.ip_forward system variables are set to 1 in sysctl config
We are selecting option 2 here using apt-get
install via package manager : https://docs.docker.com/engine/install/ubuntu/ Remove old versions
setup docker repository
Add Docker’s official GPG key:
Add the repository to Apt sources:
Install package
we are only interested in containerd
check and install cgroup driver for container runtime and kubelet to integrate with control groups for getting resources from the instance.
#! both kubelet and containerd should use same cgroup driver
find if the instances are systemd instances
Configure cgroup driver
copy following content to install cgroup drivers : Tip : delete all the content inside that file using command mode :%d and copy following content.
save above config and run following
Last updated 9 days ago.