Hi, I have a Jenkins slave pod running on GKE. In that pod, I can run kubectl commands and they seem to automagically operate on "self cluster" (the cluster in which the pod is running). But if I run `docker run -it image-with-kubectl kubectl cluster-info` I get the notorious "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
Thinking that the pod was created with a kubecfg that knows about the cluster, I ran `kubectl config view` inside the pod, but got an empty config. Trying to add `--server` to kubectl with the external master IP (that I get from cluster-info on my laptop) or with the internal master IP (cluster-info inside the pod) - I get a login prompt that I have no credentials for. For completeness: I can `docker run` in the pod because I installed docker inside and mounted the docker socket as a volume. Using k8s 1.6.4 on GKE. Any ideas? -- 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.