Enabling the Linkerd add-on and running a sample application
In this section, you will enable the Linkerd add-on in your MicroK8s Kubernetes cluster. Then, to demonstrate Linkerd’s capabilities, you will deploy a sample application.
Note
I’ll be using an Ubuntu virtual machine for this section. The instructions for setting up a MicroK8s cluster are the same as those in Chapter 5, Creating and Implementing Updates on Multi-Node Raspberry Pi Kubernetes Clusters.
Step 1 – Enabling the Linkerd add-on
Use the following command to enable the Cilium add-on:
microk8s enable linkerd
The following output indicates that the Linkerd add-on has been enabled:
Figure 12.3 – Enabling the Linkerd add-on
It will take some time to finish activating the add-on. The following output shows that Linkerd has been successfully enabled:
Figure 12.4 – Linkerd enabled successfully
Before we move on to the...