You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to use knative on Kubernetes clusters managed by Gardener. There we have the following issue when working with the knative operator:
Maintenance precondition check failed. Gardener may be unable to perform required actions during maintenance: ValidatingWebhookConfiguration "config.webhook.istio.networking.internal.knative.dev" is problematic: webhook "config.webhook.istio.networking.internal.knative.dev" with failurePolicy "Fail" and 10s timeout might prevent worker nodes from properly joining the shoot cluster
This way we are not able to maintain or hibernate the cluster because of the failed precondition. It is possible to workaround this by manually change the failure policy on the following web hooks:
However, this is only temporary; the manual changes are of course overwritten again.
We have not yet found a way to customise this in the knative operator. We have no influence on the Gardener side as it is a managed service that we use for Kubernetes. Any ideas?
The text was updated successfully, but these errors were encountered:
It is true that knative operator cannot configure the failurePolicy of any existing ValidatingWebhookConfiguration and MutatingWebhookConfiguration in eventing and serving.
To overcome this, the only thought I have with operator is to use customized manifests, like with the append mode: https://knative.dev/docs/install/operator/configuring-serving-cr/#append-mode You can consolidate all the changes for ValidatingWebhookConfiguration and MutatingWebhookConfiguration, and put one for serving and one for eventing.
Many thanks for the tip. It is a bit inconvenient that you have to upload a file somewhere in order to integrate it, but it works. We have adapted both webhooks accordingly and integrated them dynamically from the URL.
No more errors and the webhooks are created directly with failurePolicy: Ignore.
We want to use knative on Kubernetes clusters managed by Gardener. There we have the following issue when working with the knative operator:
This way we are not able to maintain or hibernate the cluster because of the failed precondition. It is possible to workaround this by manually change the failure policy on the following web hooks:
However, this is only temporary; the manual changes are of course overwritten again.
We have not yet found a way to customise this in the knative operator. We have no influence on the Gardener side as it is a managed service that we use for Kubernetes. Any ideas?
The text was updated successfully, but these errors were encountered: