Linkerd is known as a lightweight service mesh. Which of the following reasons best explains why someone might choose Linkerd instead of a heavier service mesh like Istio?
Think about what 'lightweight' means in terms of resource use and complexity.
Linkerd is designed to be simple and use fewer resources, making it ideal for smaller clusters or those with limited hardware. It focuses on ease of use and performance rather than extensive features.
What is the expected output when running linkerd check on a healthy Kubernetes cluster with Linkerd installed?
linkerd check
Think about what a health check command should report if everything is working.
The linkerd check command verifies the health of the Linkerd control plane and data plane. When all components are healthy, it reports green status messages confirming readiness.
You want to enable automatic sidecar proxy injection for a Kubernetes namespace named production. Which command correctly enables this feature?
Think about whether Linkerd uses labels or annotations for enabling injection.
Linkerd uses an annotation linkerd.io/inject=enabled on the namespace to enable automatic proxy injection for pods created in that namespace.
You deployed an application in a namespace annotated for Linkerd injection, but the pods do not have the Linkerd proxy sidecar. Which of the following is the most likely cause?
Consider when annotations take effect and how pods get injected.
Linkerd injects proxies only when pods are created in a namespace annotated for injection. If the annotation is added after pods exist, those pods won't have the proxy until restarted or recreated.
You want to replace Istio with Linkerd in your Kubernetes cluster without causing downtime. Which sequence of steps is the correct order to achieve this?
Think about installing Linkerd first, then enabling injection, then restarting pods, and finally removing Istio.
The correct migration order is to first install Linkerd, then annotate namespaces to enable injection, restart pods to get Linkerd proxies, and finally remove Istio to avoid downtime.