Sorry, i am completely new in kubernetes.
Issue details
I have kubernetes-dashboard running, but i can not connect with the public IP from the master.
http://172.17.35.99:8080/ui
I get this error message:
Error: 'dial tcp 172.30.46.3:9090: getsockopt: connection refused'
Trying to reach: 'http://172.30.46.3:9090/
What do i need to do to access the dashboard?
Environment
[root@k-master kubernetes]# kubectl describe service kubernetes-dashboard --namespace=kube-system
Name: kubernetes-dashboard
Namespace: kube-system
Labels: k8s-app=kubernetes-dashboard
kubernetes.io/cluster-service=true
Selector: k8s-app=kubernetes-dashboard
Type: ClusterIP
IP: 10.254.221.65
Port: <unset> 80/TCP
Endpoints: 172.30.46.3:9090
Session Affinity: None
Why does the connection fail?
root@k-master kubernetes]# curl 172.30.46.3:9090
curl: (7) Failed connect to 172.30.46.3:9090; connection refused
[root@k-master kubernetes]# kubectl -n kube-system logs kubernetes-dashboard-3795753315-xr1zf
Using HTTP port: 9090
Using apiserver-host location: 172.17.35.99:8080
Creating API server client for 172.17.35.99:8080
Successful initial request to the apiserver, version: v1.5.2
Creating in-cluster Heapster client
Dashboard version: 1.5.0
Kubernetes version: 1.5.2
Operating system: centos 7.3
OK, i found the problem.
on the master missing flannel, after install flanneld everything was OK
Most helpful comment
OK, i found the problem.
on the master missing flannel, after install flanneld everything was OK