Kube-State-Metrics pod shows Panic logs

Solution Verified - Updated -

Issue

  • Kube-State-Metrics pod goes in CrashLoopBackOff state due to Panic

    2022-11-15T11:34:40.057564035Z E1115 11:34:40.057468       1 runtime.go:78] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
    

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