ImagePolicyWebhook

A Kubernetes admission plugin that asks an external web service whether each pod's images may run, and refuses the pod when the answer is no.

In more detail

It is switched on in the API server's admission plugins and configured through an AdmissionConfiguration file that points at a kubeconfig for the backend. The defaultAllow setting decides what happens when the backend cannot be reached. With defaultAllow false, an unreachable backend refuses every pod, which fails safe but can stop the cluster.

Example

--enable-admission-plugins=NodeRestriction,ImagePolicyWebhook

Related terms

Taught in

References

Certification courses