Issues with Cluster Upgrade due to Webhook in OCP 4
Issue
- When trying to upgrade an
OpenShift Container Platformcluster, theupgradeis stuck due to Pods not being
evicted. - OCP4 upgrade is failing due to
machine-config-operatordegraded. - Below errors are seen in
machine-config-demonpods.
2022-10-10T20:18:03.407191510Z I1010 20:18:03.407175 2421596 daemon.go:335] evicting pod knative-eventing/eventing-`webhook`-xx 2022-10-10T20:18:03.415246964Z E1010 20:18:03.415229 2421596 daemon.go:335] error when evicting pods/"webhook-xx" -n "knative-serving" (will retry after 5s): Cannot evict pod as it would violate the pod's disruption budget"
Environment
- Red Hat OpenShift Container Platform 4.10+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.