HorizontalPodAutoscaler not working when behind proxy with OpenShift 3

Solution Unverified - Updated -

Issue

  • I setup HorizontalPodAutoscaler following the documentation but I receive errors where pod failed to get CPU consumption and request.

  • Errors Seen

failed to get CPU consumption and request: failed to unmarshall heapster response: invalid character 'E' looking for beginning of value (109 times in the last 54 minutes, 6 seconds)
HorizontalPodAutoscaler FailedGetMetrics    failed to get CPU consumption and request: some pods do not have request for cpu
HorizontalPodAutoscaler FailedComputeReplicas   failed to get cpu utilization: failed to get CPU consumption and request: some pods do not have request for cpu

Environment

  • OpenShift Enterprise 3.1.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.