kubectl top nodes heapster
jamesbuckett opened this issue · 1 comments
jamesbuckett commented
Hello
Deploy Heapster with : kubectl apply -f demos/monitoring/heapster.yaml
Heapster Pod comes online :
kube-system Pods
NAME READY STATUS RESTARTS AGE IP NODE
etcd-k8s-master 1/1 Running 0 38m 192.168.0.160 k8s-master
heapster-3303827012-zd6c0 1/1 Running 0 16m <none> k8s-node-2
kube-apiserver-k8s-master 1/1 Running 4 42m 192.168.0.160 k8s-master
kube-controller-manager-k8s-master 1/1 Running 1 39m 192.168.0.160 k8s-master
kube-dns-2459497834-89f2f 3/3 Running 0 39m 10.32.0.2 k8s-master
kube-proxy-5mnzw 1/1 Running 0 31m 192.168.0.163 k8s-node-3
kube-proxy-b0vqh 1/1 Running 0 31m 192.168.0.164 k8s-node-4
kube-proxy-krgqg 1/1 Running 0 39m 192.168.0.160 k8s-master
kube-proxy-s5h76 1/1 Running 0 31m 192.168.0.161 k8s-node-1
kube-proxy-z9fcn 1/1 Running 0 31m 192.168.0.162 k8s-node-2
kube-scheduler-k8s-master 1/1 Running 0 40m 192.168.0.160 k8s-master
kubernetes-dashboard-184298627-vl956 0/1 CrashLoopBackOff 6 17m <none> k8s-node-3
weave-net-7xxp6 2/2 Running 0 31m 192.168.0.162 k8s-node-2
weave-net-cxzn2 2/2 Running 0 31m 192.168.0.164 k8s-node-4
weave-net-l0bw5 2/2 Running 0 31m 192.168.0.161 k8s-node-1
weave-net-r1bzn 2/2 Running 0 35m 192.168.0.160 k8s-master
weave-net-wz9v4 2/2 Running 1 31m 192.168.0.163 k8s-node-3
kube-system Services
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
heapster 10.96.242.72 <none> 80/TCP 16m
kube-dns 10.96.0.10 <none> 53/UDP,53/TCP 39m
kubernetes-dashboard 10.97.240.210 <none> 80/TCP 17m
Nodes
NAME STATUS AGE VERSION EXTERNAL-IP OS-IMAGE KERNEL-VERSION
k8s-master Ready 42m v1.7.2 <none> Raspbian GNU/Linux 8 (jessie) 4.4.50-hypriotos-v7+
k8s-node-1 Ready 31m v1.7.2 <none> Raspbian GNU/Linux 8 (jessie) 4.4.50-hypriotos-v7+
k8s-node-2 Ready 31m v1.7.2 <none> Raspbian GNU/Linux 8 (jessie) 4.4.50-hypriotos-v7+
k8s-node-3 Ready 31m v1.7.2 <none> Raspbian GNU/Linux 8 (jessie) 4.4.50-hypriotos-v7+
k8s-node-4 Ready 31m v1.7.2 <none> Raspbian GNU/Linux 8 (jessie) 4.4.50-hypriotos-v7+
kubectl top nodes
gives :
Error from server (InternalError): an error on the server ("unknown") has prevented the request from succeeding (get services http:heapster:)
docker logs 66f3b69cb985
on the node gives :
E0729 11:16:36.622691 7 reflector.go:190] k8s.io/heapster/metrics/util/util.go:51: Failed to list *v1.Node: Get https://kubernetes.default/api/v1/nodes?resourceVersion=0: dial tcp: lookup kubernetes.default on 10.96.0.10:53: dial udp 10.96.0.10:53: connect: network is unreachable
Appreciate any help to resolve this.
gauti038 commented
facing the same issue.