- Lab
- A Cloud Guru
Using Probes in Docker Kubernetes Service
Probes are a great tool for making some applications more resilient in Kubernetes. In this lab, you will have the opportunity to explore how to use probes to make Kubernetes react more quickly to application failures. This will help you design more robust applications in your Kubernetes clusters!
Path Info
Table of Contents
-
Challenge
Get the Pod Definition
- Look for the Pod called
webserver
and get a copy of its YAML definition.
- Look for the Pod called
-
Challenge
Add a Probe to the Pod
- Edit the Pod YAML so that it contains a probe that is able to detect when the Pod has stopped working. You can determine the pod's health by making an http request to
/
on port8080
on the pod.
- Edit the Pod YAML so that it contains a probe that is able to detect when the Pod has stopped working. You can determine the pod's health by making an http request to
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.