sudo echo -n 'cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1' >> /boot/firmware/cmdline.txt
sudo hostnamectl set-hostname [NODE-HOSTNAME]
sudo adduser [USER]
sudo usermod -aG sudo [USER]
sudo usermod -aG docker [USER]
sudo userdel ubuntu
sudo rm -r /home/ubuntu
sudo apt-get update
sudo apt-get install docker.io
sudo systemctl enable docker
sudo systemctl status docker
sudo systemctl start docker
sudo apt-get update -q
sudo apt install -qy apt-transport-https gnupg software-properties-common nfs-common
sudo wget -qO - https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update -q
sudo apt-get install -qy kubeadm=1.17.1-00 kubelet=1.18.5-00
sudo apt-mark hold kubeadm kubelet
kubeadm token create --print-join-command
kubeadm join --discovery-token abcdef.1234567890abcdef --discovery-token-ca-cert-hash sha256:1234..cdef 1.2.3.4:6443