Autoscaler frequently reports "sample missing pod" error
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
