Kubelet refers to the mechanism of applying, creating, deleting, and updating the containers on a Kubernetes node. It acts as a node agent that runs on each single node. This mechanism can easily communicate with the API server for registering new Kubernetes nodes. In this guide, we will take a look at the procedure of installing Kubelet on a Linux Mint 20 system.
You need to have the Snap Daemon installed on your system before installing Kubelet on it.
Installing Kubelet on Linux Mint 20:
For installing Kubelet on Linux Mint 20, you need to perform the following two steps:
Step # 1: Installing Kubelet via the Snap Store on Linux Mint 20:
First, we will install Kubelet via the Snap Store on our Linux Mint 20 machine by running the command given below:
$ sudo snap install kubelet --classic
As soon as our system completed the execution of the above-mentioned command, the following output was seen on the terminal:
Step # 2: Checking the Edition of Kubelet Installed on Linux Mint 20:
Although after successfully installing Kubelet on our system, its version appeared on the terminal, however, if in case, you have missed out that chance and you want to find out the version once again, then you can always run the command shown below:
$ kubelet --version
The edition of Kubelet installed on Linux Mint 20 with this method is shown in the following image:
As an additional tip, we will share with you the command with which you can easily remove Kubelet from your Linux Mint 20 system. You need to execute this command in the manner stated below:
$ sudo snap remove kubelet
Once Kubelet is removed successfully, the following success message will appear on the terminal:
In this article, we learned to install Kubelet on a Linux Mint 20 system via the Snap Store. With the help of this amazing technology, we can easily manage the Kubernetes nodes. Moreover, whenever we want to remove it from our Linux Mint 20 system, all we have to do is to run a single command and that too has been discussed in this article.