Hi Thomas, dis you find the solution to this? I am facing the same issue. On Tuesday, June 21, 2016 at 4:54:06 AM UTC-7, Thomas Privat wrote: > > Hi All, > > I followed the following instruction to run kubernetes on one master and > three nodes on CoreOS: > http://kubernetes.io/docs/getting-started-guides/coreos/bare_metal_calico/ > > From my point of view, the installation setup seems working as the master > can see the nodes: > core@kubernetes-master ~ $ kubectl get nodes > NAME LABELS STATUS AGE > 172.28.50.162 kubernetes.io/hostname=172.28.50.162 Ready 2h > 172.28.50.163 kubernetes.io/hostname=172.28.50.163 Ready 2h > 172.28.50.164 kubernetes.io/hostname=172.28.50.164 Ready 1h > > As the next step, I tried to install SkyDNS: > > kubectl create -f > https://raw.githubusercontent.com/projectcalico/calico-cni/k8s-1.1-docs/samples/kubernetes/master/dns/skydns.yaml > and the WebUI > kubectl create -f > https://raw.githubusercontent.com/projectcalico/calico-cni/k8s-1.1-docs/samples/kubernetes/master/kube-ui/kube-ui.yaml > both commands executed successfully., it seems that the kube-ui serice was > created in the namespace "kube-system" > > core@kubernetes-master ~ $ kubectl get services --namespace=kube-system > NAME CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR AGE > kube-ui 10.100.0.186 nodes 80/TCP k8s-app=kube-ui 1h > > *The first question I have now is how can I access the UserInterface ?* > > When I access the URL > "/api/v1/proxy/namespaces/kube-system/services/kube-ui/#/dashboard/" > > { > "kind": "Status", > "apiVersion": "v1", > "metadata": {}, > "status": "Failure", > "message": "no endpoints available for service \"kube-ui\"", > "reason": "ServiceUnavailable", > "code": 503 > } > > > After this, I tried to create an exposed nginx service: > > > kubectl run my-nginx --image=nginx --replicas=2 --port=80 --expose > --service-overrides='{ "spec": { "type": "LoadBalancer" } }' > > This command results in the error: > Error: unknown flag: --expose > > Its also not possible to list (and create) deployments: > core@kubernetes-master ~ $ kubectl get deployments > Unable to list "deployments": the server could not find the requested resource > > > *Is there something missing in my kubernetes cluster ?* > > > Best reagrds, Thomas > > >
-- You received this message because you are subscribed to the Google Groups "Containers at Google" 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/google-containers. For more options, visit https://groups.google.com/d/optout.
