mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue HPA Controller: Use Custom Metrics API This commit switches over the HPA controller to use the custom metrics API. It also converts the HPA controller to use the generated client in k8s.io/metrics for the resource metrics API. In order to enable support, you must enable `--horizontal-pod-autoscaler-use-rest-clients` on the controller-manager, which will switch the HPA controller's MetricsClient implementation over to use the standard rest clients for both custom metrics and resource metrics. This requires that at the least resource metrics API is registered with kube-aggregator, and that the controller manager is pointed at kube-aggregator. For this to work, Heapster must be serving the new-style API server (`--api-server=true`). Before this merges, this will need kubernetes/metrics#2 to merge, and a godeps update to pull that in. It's also semi-dependent on kubernetes/heapster#1537, but that is not required in order for this to merge. **Release note**: ```release-note Allow the Horizontal Pod Autoscaler controller to talk to the metrics API and custom metrics API as standard APIs. ``` |
||
---|---|---|
.. | ||
clicheck | ||
cloud-controller-manager | ||
gendocs | ||
genkubedocs | ||
genman | ||
genslateyaml | ||
genswaggertypedocs | ||
genutils | ||
genyaml | ||
gke-certificates-controller | ||
hyperkube | ||
kube-apiserver | ||
kube-controller-manager | ||
kube-discovery | ||
kube-proxy | ||
kubeadm | ||
kubectl | ||
kubelet | ||
kubemark | ||
libs/go2idl | ||
linkcheck | ||
mungedocs | ||
BUILD | ||
OWNERS |