Kubernetes · hands-on lab
DO280 Lab 16: Give Applications Kubernetes API Access and Automate with CronJobs
Give a service account only the rights a job needs, run a CronJob with it that uses the API, and check what it may do.
- 45 minutesTime in the lab
- AdvancedLevel
- 3 tasksChecked automatically
- CertificateVerifiable link when you finish
The situation
Finished pods pile up. A small scheduled job must delete them, and must not be able to do anything else.
What you will do
- Guided exercise: Least privilege
- Lab: A CronJob that uses the API
- Tokenquestion
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.