Kubernetes Webhooks
Principal Architect, Systems Design
T-Mobile
a piece of code that intercepts requests to the Kubernetes API server after authentication/authorization and before persistence of the object
NamespaceLifecycle
LimitRanger
ServiceAccount
DefaultStorageClass
DefaultTolerationSeconds
ResourceQuota
VALIDATING
MUTATING
Enforce Custom Policy
Enforce Custom Defaults
Kubernetes cluster is at least v1.9+
MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controllers are enabled. Here is a recommended set of admission controllers to enable in general.
Ensure that the admissionregistration.k8s.io/v1beta1 API is enabled.
Service
Server
Webhook Config
API Server
Image Swap Mutating Admission Webhook for Kubernetes