I have a centos 7 k8s 1.5.2 cluster with a master (etcd apiserver 
controller scheduler) and 3 nodes (flannel docker kubeproxy kubelet) with a 
working heapster + influxdb + grafana stack using 
https://github.com/kubernetes/heapster/tree/master/deploy/kube-config/influxdb

Now im trying the horizontal pod autoscaling feature but the 
kube-controller-manager shows me this error

(.....)     HorizontalPodAutoscaler               Warning   
FailedGetMetrics   {horizontal-pod-autoscaler }   unable to get metrics for 
resource cpu: failed to get heapster service: an error on the server 
("Error: 'dial tcp 172.17.95.5:8082: getsockopt: connection timed 
out'\nTrying to reach: 
'http://172.17.95.5:8082/apis/metrics/v1alpha1/namespaces/default/pods?labelSelector=blablablabla'")
 
has prevented the request from succeeding (get services http:heapster:)

If i curl that url from a pod it works.  I  have tried the standalone 
deployment of heapster with the same result. 

What am I missing?
How is done the communication between the controller manager and the 
heapster pod?

I really appreciate any help because im lost after looking for the cause of 
this during 10 days... :\
Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to