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

Services, Networking & Probes for CKAD
In this hands-on lab, you will learn how to expose and manage applications in a Kubernetes cluster using services, configure health checks with probes, and set up ingress for external traffic routing. These skills are essential for the Certified Kubernetes Application Developer (CKAD) exam and for real-world Kubernetes deployments.

Lab Info
Table of Contents
-
Challenge
Create ClusterIP and NodePort Services
- Create a Deployment web-deploy (image: httpd, port 80).
- Expose it as a ClusterIP Service web-svc.
- Create a second NodePort Service named web-node with fixed nodePort 30036.
- Verify service accessibility with kubectl port-forward and curl.
-
Challenge
Configure Readiness and Liveness Probes
- Add a readiness probe on / for web-deploy using HTTP GET.
- Add a liveness probe with initial delay of 5s and 3s interval.
- Observe Pod behavior when readiness probe fails.
- Use kubectl describe pod to inspect probe configuration.
-
Challenge
Use Ingress to Route Traffic
- Create an Ingress resource web-ingress to route /web to web-svc.
- Ensure the correct IngressClassName is defined.
- Verify path-based routing via curl or browser.
- Troubleshoot 404 errors using kubectl describe ingress.
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.