PrometheusRule to monitor any pod restart in a user-namespace

Solution Verified - Updated -

Issue

  • How to create a alert to monitor pod restart in user-namespace using PrometheusRule?

  • How to create the custom rule to get pod restart notification in a user-namespace?

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

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