What is a MutatingWebhookConfiguration and ValidatingWebhookConfiguration in Kubernetes?

Kubernetes Fundamentals Hard

Kubernetes Fundamentals — Hard

What is a MutatingWebhookConfiguration and ValidatingWebhookConfiguration in Kubernetes?

Key points

  • MutatingWebhookConfiguration alters API objects before persistence
  • ValidatingWebhookConfiguration enforces custom logic for object acceptance
  • Both are called by the API server prior to object storage
  • They serve different purposes in the admission control process

Ready to go further?

Related questions