ansible-kubernetes-openshift-pi3 icon indicating copy to clipboard operation
ansible-kubernetes-openshift-pi3 copied to clipboard

Horizontal Pod Scaler cannot get resources

Open peykens opened this issue 7 years ago • 0 comments

Hi,

I have installed the kubernetes on 4 Pi's with the playbooks (works perfect !). Also the management playbook has been installed. In the kubernetes UI I can see CPU/Memory graphs, so I assume heapster is working.

Nut when I want to use the horizontal pod autoscaler, I get errors the the CPU resources cannot be found "unable to get metrics for resource cpu: unable to fetch metrics from API: the server could not find the requested resource (get pods.metrics.k8s.io)"

I found some issues reported that the value "--horizontal-pod-autoscaler-use-rest-clients=false", but using that value is also not working.

Do I need to install something extra ?

peykens avatar May 11 '18 14:05 peykens