Using a Debian/Ubuntu Distribution of Linux, How Do You Install kubeadm, kubectl, and/or kubelet?

Problem scenario
Using a Debian/Ubuntu distribution of Linux, how do you install kubeadm, kubectl, and/or kubelet?

You want to install kubeadm, kubectl or kubelet (without retrieving the binary of the file from a website and do a regular installation). What do you do?

Here is another way to install kubectl, kubelet and kubeadm:

curl -s | sudo apt-key add
sudo apt-add-repository "deb kubernetes-xenial main"
sudo apt-get -y install kubeadm kubelet kubectl

(If you can download a file from the internet and want to avoid using apt commands, see these links to install kubeadm, kubelet, and kubectl.)

Leave a comment

Your email address will not be published. Required fields are marked *