- Lab
- A Cloud Guru
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.
Path 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
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.