This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Kubernetes Horizontal Pod Autoscaler does not work for v1.8+ cluster #1936
Labels
cse-sync-week
Triage for issues that would be good for CSE sync week, April 24-27th 2018
Is this a request for help?:
N/A
Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE
What version of acs-engine?:
v0.10.0
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes
What happened:
Follow the steps to using HPA(Horizontal Pod Autoscaler):
https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/
It does not work for acs-engine generated v1.8 cluster due to missing metric data. It works well with v1.7
Error is:
Detailed log from controller-manager log:
This is due to 'metrics' changed to 'metrics.k8s.io' in v1.8:
kubernetes/kubernetes#51653
In v1.7, the cluster depends on heapster to provide such metric information, but it is no longer supported in v1.8:
kubernetes-retired/heapster#1840
What you expected to happen:
HPA functions correctly
How to reproduce it (as minimally and precisely as possible):
Try
https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/
Anything else we need to know:
The text was updated successfully, but these errors were encountered: