Kubelet has disappeared from Prometheus target alert is firing in RHOCP 4.x

Solution Verified - Updated -

Issue

  • Kubelet on each node seems to be functioning properly, Kubelet has disappeared from Prometheus target alert is firing.
  • In the prometheus-operator logs, the following errors can be seen when the operator is syncing the nodes Endpoints:
2021-03-29T03:47:52.797794577Z level=error ts=2021-03-29T03:47:52.797666407Z caller=operator.go:590 component=prometheusoperator msg="syncing nodes into Endpoints object failed" err="synchronizing kubelet endpoints object failed: creating kubelet endpoints object failed: endpoints \"kubelet\" is forbidden: endpoint address 10.0.0.1 is not allowed"

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