Prometheus fails to scrape metrics from additional IngressController with non-default stats port

Solution Verified - Updated -

Issue

  • Prometheuscould not scrape metrics from additional IngressController when the stats port is different than 1936.
  • Changing the stats port on the additional IngressController is not reflecting on the service and service monitor.
  • Cluster-ingress-operator does not automatically update the router, deployment and service after modifying spec.endpointPublishingStrategy.hostNetwork.statsPort.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Ingress Controller

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