- A Cloud Guru
Using a Dynamic Admission Controller with Kubernetes
In Kubernetes, dynamic admission controllers let us validate or otherwise change the request objects for creating resources. Most often, these are webhooks that are deployed with Kubernetes itself. In this lab, we create and register one of these webhooks within our Kubernetes cluster.
Table of Contents
Create a Kubernetes deployment for the
label-add-webhookwebhook container. Deploy the webhook.
Register the deployed webhook as an admission controller.
Run the test Pod and ensure the label has been added.
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.