Kubernetes · hands-on lab
Kubernetes Lab 15: Metrics and Horizontal Pod Autoscaling
Read resource usage with kubectl top and scale a deployment automatically with HorizontalPodAutoscalers.
- 40 minutesTime in the lab
- AdvancedLevel
- 5 tasksChecked automatically
- CertificateVerifiable link when you finish
The situation
Traffic to the web shop changes during the day. The cluster must add and remove pods on its own.
What you will do
- Explore: Metrics add-onquestion
- Guided exercise: kubectl top
- Guided exercise: Autoscale on CPU
- Lab: Memory target and scale-down behaviour
- Requestsquestion
How it works
The lab opens in your browser: a real terminal or desktop, nothing to install. Work through the tasks, press Check after each one and the portal verifies your work. Stuck? Ask for a hint. Finish every task and you get a certificate page with its own verification link for LinkedIn or your CV.