$ ./guess_the_languageDevOps
DevOps · hard · #260

What can a mutating admission webhook do that a validating one cannot?

  1. Reject requests that break policy
  2. Edit an object before it is stored
  3. Restart pods that are already running
  4. Move running pods to another node
Mutating webhooks run first and may patch the incoming object, for example to inject a sidecar; validating webhooks can only accept or reject. Neither touches pods that already exist.
Play DevOps ▸