Project31 / ansible-kubernetes-openshift-pi3

Ansible playbooks for setting up a Kubernetes Raspberry Pi 3 cluster
190 stars 55 forks source link

Horizontal Pod Scaler cannot get resources #42

Open peykens opened 6 years ago

peykens commented 6 years ago

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 ?