Kubernetes 101 : An overview of Admission Controllers
Kubernetes comes with a set of admission controllers, but we could also add our own.
We could build an admission controller and run it via a WebHook.
WebHooks are HTTP callback functions that handle the admission controllers requests.
WebHooks are HTTP callback functions that handle the admission controllers requests.
An application that uses a WebHooks will send a notification message to another application when certain events happen.
Below is a Yaml file of a ResourceQuota object:
For example, during a pod's creation, the WebHook for the resourceQuota will instruct kubernetes to communicate with the resourceQuota admission controller plugin to decide whether to accept or reject the creation of the pod.
Comments