Issues with VPA Webhook in OCP 4

Solution Verified - Updated -

Issue

  • Cluster upgrade fails because of VPA Webhook.
  • While performing an OCP upgrade with VPA operator installed in the cluster, the upgrade fails due to pods not coming up with following message:

    Error creating: Internal error occurred: failed calling webhook "vpa.k8s.io": Post "https://vpa-webhook.openshift-vertical-pod-autoscaler.svc:443/?timeout=10s": no endpoints available for service "vpa-webhook"
    
  • MutatingAdmissionWebhook errors in the cluster:

    Internal error occurred: admission plugin "MutatingAdmissionWebhook" failed to complete mutation in 13s
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.6
    • 4.7

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