Validatingwebhook timed out as no endpoints available for service Kyverno-svc.

Solution Verified - Updated -

Issue

  • RHOCP Apiserver is making calls to the internal kyverno service, even after it is scaled to 0, and the webhooks are removed.
Internal error occurred: failed calling webhook "validate.kyverno.svc-fail": failed to call webhook: Post "https://kyvernor-svc.kyverno.svc:443/validate/fail?timeout=10s": no endpoints available for service "kyverno-svc"
  • RHOCP Console login fails with "error":"server_error","error_description":"The authorization server encountered an unexpected condition that prevented it from fulfilling the request.","state":"xxxxxxx".
  • Unable to login to the RHOCP console, and jobs are failing to execute.

Environment

  • Red hat Openshift Container Platform
    • 4.11

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