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

Managing Kubernetes Admission Controllers
Kubernetes admission controllers act on request by validating their parameters or modifying (i.e., mutating) them to meet certain requirements or criteria. In this hands-on lab, you will be tasked with enabling and disabling specific admission controllers in order to take advantage of the functionality they provide.

Lab Info
Table of Contents
-
Challenge
Enable and Disable Admission Controllers
- Modify the
kube-apiserver.yaml
file with the following updates:- Ensure that the following admission controllers are enabled:
NodeRestriction
,NamespaceAutoProvision
,AlwaysPullImages
, andPodSecurity
. - Ensure that the following admission controllers are disabled:
MutatingAdmissionWebhook
,ValidatingAdmissionWebhook
, andDenyServiceExternalIPs
. - Save and quit the
kube-apiserver.yaml
file.
- Ensure that the following admission controllers are enabled:
- Validate that the
kube-apiserver
pod redeploys successfully by issuing a simplekubectl
command (the pod can take several seconds to redeploy).
- Modify the
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.