A Kyverno Pod fails to start with forbidden errors

One Kyverno admission controller restarts repeatedly and logs forbidden errors because two Kyverno instances run in the same cluster.

One Kyverno admission controller restarts repeatedly and logs forbidden errors, for example, cannot get resource "customresourcedefinitions".

Two Kyverno instances are running in the cluster, and each instance has taken ownership of objects that the other instance relies on.

Resolution

Set CLUSTER_VAR_kyverno_suspend to true and CLUSTER_VAR_kyverno_namespace to the namespace of the instance that you want to keep, and then run the cluster-vars phase again. Do not remove either Kyverno release.