- Lab
- 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.
Path 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!
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.