Openshift diagsnotics check gives error retaled to MetricsApiProxy

Solution In Progress - Updated -

Issue

  • Running: # oc adm diagnostics metricsapiproxy you will get the following error:

    ERROR: [DClu4003 from diagnostic MetricsApiProxy@openshift/origin/pkg/oc/admin/diagnostics/diagnostics/cluster/metrics.go:89]
           Unable to access the metrics API Proxy endpoint /api/v1/proxy/namespaces/openshift-infra/services/https:heapster:/api/v1/model/metrics:
           (*errors.StatusError) the server could not find the requested resource
           The Horizontal Pod Autoscaler is not able to retrieve metrics to drive scaling.
    

Environment

  • Red Hat Openshift (OCP) 3.10
  • Red Hat Openshift (OCP) 3.11

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