Autoscaler frequently reports "sample missing pod" error

Solution In Progress - Updated -

Issue

  • One of the first projects using the autoscaler just reported an issue that on regular basis the following events are created:
1h         4d          132       guktarif-prod   HorizontalPodAutoscaler               Warning   FailedGetMetrics          {horizontal-pod-autoscaler }   failed to get CPU consumption and request: metrics obtained for 0/1 of pods (sample missing pod: guktarif-prod-axa-de/guktarif-prod-8-qw08b)
1h         4d          132       guktarif-prod   HorizontalPodAutoscaler               Warning   FailedComputeReplicas     {horizontal-pod-autoscaler }   failed to get CPU utilization: failed to get CPU consumption and request: metrics obtained for 0/1 of pods (sample missing pod: guktarif-prod-axa-de/guktarif-prod-8-qw08b)
  • The metrics component runs and no interruptions are visible on the graphs for the application pod.

Environment

  • Openshift Container Platform
    • 3.4.1

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