From the course: Certified Kubernetes Security Specialist (CKS) Cert Prep

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Policy enforcement: Validating admission policy

Policy enforcement: Validating admission policy - Kubernetes Tutorial

From the course: Certified Kubernetes Security Specialist (CKS) Cert Prep

Policy enforcement: Validating admission policy

- Now the validating admission policy is something that is a declarative alternative to other validating admission web hooks that we've seen before. So the ability to be able to use native policy enforcement within Kubernetes is a very big game changer. And this is something that allows you to be able to set up a number of core components. You're going to have the validating admission policy, you'll have the validating admission policy binding. So if this looks very familiar to what you do with a cluster and a cluster roll binding and then a roll and a roll binding, then it is obviously going to be something that you're more familiar with. So these are the components that they use for this particular policy. And then of course you're going to have your policy parameters that's going to set the various requirements and the resources as well as the actions based on that. And this became a native Kubernetes feature in 1.30 and totally generally available. So now it's something that can…

Contents