Unable to delete any Project or Namespace in RHOCP 4
Issue
- Attempt to delete a
Projectornamespacewithoc delete ns <ns-name>hangs. - After deletion attempt the
Projectornamespaceremains inTerminatingstatus. -
Status conditions of the
Projectornamespaceafter deletion attempt shows the following message.status: conditions: - lastTransitionTime: "YYYY-MM-ddTHH:mm:ss" message: 'Discovery failed for some groups, 1 failing: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server has received too many requests and has asked us to try again later' reason: DiscoveryFailed status: "True" - Unable to use PromQL to query the
prometheus-adaptermetrics job (apiserver_current_inflight_requests{job="prometheus-adapter"}) from OCP consoleObserve->Metrics
Environment
- Red Hat OpenShift Container Platform (RHOCP)
o 4.11
o 4.10 - prometheus-adapter
- kube-apiserver
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.