- A Cloud Guru
Using a Service Mesh in Kubernetes
Service meshes can automate the process of providing additional security, reliability, and functionality around your containers. In this lab, you will be able to see how a service mesh works up close by exploring how the service mesh interacts with a simple application.
Table of Contents
Explore the Linkerd Dashboard
Open the Linkerd dashboard in a browser.
Access the dashboard at
http://<k8s Server Public IP>:30080.
Feel free to explore! See if you can locate any information relating to the Terrapin application's components. (Hint: The application lives in the
Mesh the Application with Linkerd
The application's components are located in the
defaultNamespace. You can mesh the application with Linkerd like so:
kubectl get -n default deploy -o yaml | linkerd inject - | kubectl apply -f -
Once the application is meshed, watch the dashboard to see additional data about the application become available.
Explore the Changes to Application Components Made by Linkerd
kubectlto locate the application's Pods in the
kubectl describe pod <Pod name>to view more detailed information about one of the Pods. See if you can spot information about the Linkerd sidecar container when examining the Pod!
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.