setup kubernetes cluster code example
Example 1: install kubernetes on ubuntu
sudo apt-add-repository "deb http://apt.kubernetes.io/ kubernetes-xenial main"
Example 2: install kubernetes on ubuntu
sudo apt-mark hold kubeadm kubelet kubectl
sudo apt-add-repository "deb http://apt.kubernetes.io/ kubernetes-xenial main"
sudo apt-mark hold kubeadm kubelet kubectl