Le dimanche 14 mai 2017 20:04:41 UTC+2, twel...@noon.com a écrit :
> I'm following the kubernetes getting started guide for the first time:
> https://kubernetes.io/docs/getting-started-guides/gce/#starting-a-cluster
> However, when I get to the step:
> kubectl get --all-namespaces services
> I get this error:
> ---
> root@control:~# kubectl get --all-namespaces services
> The connection to the server localhost:8080 was refused - did you specify the 
> right host or port?
> ---
> It doesn't look like a service was to be set up to run at any point on port 
> 8080.
> Why am I getting this error and how can I fix it?
> Thanks in advance,
> Traiano

Solved by getting credentials for the cluster:

> gcloud container clusters get-credentials <cluster-name> --zone us-east1-d 
> --project <project-name> 

You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to