prometheus-k8s pods are missing causing monitoring operator to be in a degraded state

Solution Verified - Updated -

Issue

  • Why monitoring operator is in a degraded state?
  • Why prometheus-k8s pods are missing from project openshift-monitoring?
  • Error is recorded in the events:

    prometheus-k8s failed error: PersistentVolumeClaim "prometheus-k8s-db-prometheus-k8s-0" is invalid: spec.resources[storage]: Required value
    

Environment

  • Red Hat Openshift Container Platform (RHOCP)
    • 4.x

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