The getting started guide that you linked to appears to install kubernetes
1.1. Deployments were added in 1.2
<http://blog.kubernetes.io/2016/04/using-deployment-objects-with.html> which
is why the server doesn't know about that resource type.

For the UI, what do you see if you list endpoints for the ui service?

On Wed, Jul 20, 2016 at 2:48 PM, Rodrigo Campos <[email protected]> wrote:

> Never used coreos, so I don't really know about it.
>
> Regarding the UI, you don't want to use kube-up and you want to use
> dashboard. But maybe it is already present. Try listing the pods on all
> namespaces with "kubectl --all-namespaces get pods"
>
> Regarding the deployment is weird "get" doesn't work. what k8s version are
> you using?
>
> Have you tried to run a deployment from an example?
>
>
> On Tuesday, June 21, 2016, Thomas Privat <[email protected]> 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.
>>
> --
> 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.
>

-- 
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.

Reply via email to