All look good execept for the warning (the same with on 4.7) Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning FailedComputeMetricsReplicas 18m (x12 over 20m) horizontal-pod-autoscaler invalid metrics (1 invalid out of 1), first error is: failed to get cpu utilization: did not receive metrics for any ready pods Warning FailedGetResourceMetric 17m (x13 over 20m) horizontal-pod-autoscaler did not receive metrics for any ready pods Since we provide "cpu": "0", While do we still have the warning? @joelsmith
The warning is harmless as long as the age is about the same as the age of the pods. What happens is that if the pods are created after the HPA or at about the same time, the HPA emits the warning for the first few minutes until the pod metrics are available. There is always a delay after creating a pod before its metrics become available. If you create the pods, then wait 5 minutes, then create the HPA, I think you won't see these warnings. That's because the HPA will be able to get metrics from the very beginning.
Verifed as per comment #5 and #6
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.6.6 bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:5115