On Monday, May 15, 2017 at 1:06:25 PM UTC+5:30, secmask wrote: > I got the same trouble since nearly release, seem must use KUBECONFIG explicit > > > > > sudo cp /etc/kubernetes/admin.conf $HOME/ > sudo chown $(id -u):$(id -g) $HOME/admin.conf > export KUBECONFIG=$HOME/admin.conf > > On Monday, May 15, 2017 at 1:04:41 AM UTC+7, [email protected] wrote: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
I think my problem is api-server restarting always. don't have idea why this is happening -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.
