Admission controllers

Admission controllers intercept requests to the API Server after authentication and authorisation but before persistence to Configuration.

Execution

They're executed in two phases:

  1. Mutating.
  2. Validating.

Types

They may be either:

Built-in

The list of built-in admission plugins can be found with kube-apiserver --help | grep enable-admission-plugins.

The --enable-admission-plugins API Server switch may be used to enable built-in admission control plugins, and --disable-admission-plugins disabled the specified plugins even if they'd be enabled by default.

Dynamic

Dynamic admission controllers are implemented using HTTP webhooks. They receive Kubernetes AdmissionReviews


Children
  1. AdmissionReviews
  2. MutatingAdmissionConfigurations
  3. ValidatingAdmissionConfigurations

Backlinks