We need to create the necessary objects that require the cluster-admin role. Let's see how to do this:
- To create objects that require the cluster-admin role, run the following command:
$ linkerd install config | kubectl apply -f -
These objects include ClusterRole, ClusterRoleBinding, CustomResourceDefinition, MutatingWebhookConfiguration, Secret, ServiceAccount, and so on.
- To validate the objects, run the following command:
$ linkerd check config
Now that the necessary objects have been created, we can install the control plane.