Exclude namespaces from the Knative webhook

The Knative webhook examines resources that are created, read, updated, or deleted. This includes system namespaces, which can cause issues during an upgrade if the webhook becomes non-responsive. Cluster administrators may want to disable the Knative webhook on system namespaces to prevent issues during upgrades.

You can configure the label webhooks.knative.dev/exclude to allow namespaces to bypass the Knative webhook.

  1. apiVersion: v1
  2. kind: Namespace
  3. metadata:
  4. name: knative-dev
  5. labels:
  6. webhooks.knative.dev/exclude: "true"

Feedback

Was this page helpful?

Glad to hear it! Please tell us how we can improve.

Sorry to hear that. Please tell us how we can improve.