Hello,
I have a nine bare metal hosts setup with CentOS Atomic. I followed their guide on how to setup Kubernetes from
http://www.projectatomic.io/docs/gettingstarted/ I successfully created a test service running Nginx and I was able to access it.
Moving
further, I got the kubernetes-dashboard running but I get some network
errors when I assess it. I wonder if missed some of the network
settings. Here is what I did:
> kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.5.1/src/deploy/kubernetes-dashboard.yaml
> kubectl -n kube-system get service kubernetes-dashboard
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes-dashboard 10.0.0.184 <nodes> 80:31247/TCP 57m
> kubectl -n kube-system log kubernetes-dashboard-3203831700-lqmnb
Using HTTP port: 9090
Creating API server client for https://10.0.0.1:443
Successful initial request to the apiserver, version: v1.5.2
Creating in-cluster Heapster client
Using service account token for csrf signing
> kubectl -n kube-system describe services kubernetes-dashboard
Name: kubernetes-dashboard
Namespace: kube-system
Labels: app=kubernetes-dashboard
Selector: app=kubernetes-dashboard
Type: NodePort
IP: 10.0.0.184
Port: <unset> 80/TCP
NodePort: <unset> 31247/TCP
Endpoints: 172.16.74.2:9090
Session Affinity: None
No events.
> kubectl proxy
Starting to serve on 127.0.0.1:8001 When I try to access it I get:
I can see the dashboard container is running, but on one of the eight Kubernetes nodes (not the master):
It's interesting how the master can't connect to the IP of the container. I wonder what I'm missing here.
Thanks!
Rares