- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

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.

Lab Info
Table of Contents
-
Challenge
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
default
Namespace.) -
Challenge
Mesh the Application with Linkerd
The application's components are located in the
default
Namespace. 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.
-
Challenge
Explore the Changes to Application Components Made by Linkerd
Use
kubectl
to locate the application's Pods in thedefault
Namespace. Usekubectl 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!
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.