Issues with Cluster Upgrade due to Webhook in OCP 4

Solution Verified - Updated -

Issue

  • When trying to upgrade an OpenShift Container Platform cluster, the upgrade is stuck due to Pods not being
    evicted.
  • OCP4 upgrade is failing due to machine-config-operator degraded.
  • Below errors are seen in machine-config-demon pods.
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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content