The kubeconfig file is configuring your client to talk to a kube-apiserver.
It looks like you might be editing it in hopes that it will affect the auth
your kube-apiserver takes, but that is done at start-up time; you need to
change the flags passed to kube-apiserver.

It looks like you configured your cluster without any auth (judging from
the 127.0.0.1:8080 addresses). I think it might be time to figure out the
auth-related command line options. :)

On Mon, May 16, 2016 at 10:44 AM, Rodrigo Campos <[email protected]>
wrote:

> On Mon, May 16, 2016 at 10:11:40AM -0700, Pierre Lerouge wrote:
> > Hi !
> > I'm setting up my first kubernetes cluster on Debian 8 Machines.
> > I've managed to create Pods, But I'm trying to see my cluster on the
> > dashboard.
> >
> > First Question, what's the difference between Kubernetes Dashboard
> > <https://github.com/kubernetes/dashboard>and Kube-UI
> > <https://github.com/kubernetes/kube-ui> ?
>
> The dashboard is the new UI. As the README in kube-ui says: "Also please
> check
> out the new Dashboard for Kubernetes available at:
> https://github.com/kubernetes/dashboard. This codebase will be retired
> once the
> new and improved Dashboard is production ready."
>
>
>
> >
> > Second Question, The Dashboard seems to be deployed :
> >
> > kube@KUBEMASTER01:~$ kubectl cluster-info
> > Kubernetes master is running at http://localhost:8080
> > KubeDNS is running at
> >
> http://localhost:8080/api/v1/proxy/namespaces/kube-system/services/kube-dns
> > kubernetes-dashboard is running at
> >
> http://localhost:8080/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard
> >
> > kube@KUBEMASTER01:~$ kubectl config view
> > apiVersion: v1
> > clusters: []
> > contexts: []
> > current-context: ""
> > kind: Config
> > preferences: {}
> > users:
> > - name: admin
> >   user:
> >     password: "1234"
> > When I'm trying to browse to the UI https://KUBEMASTER01/ui
> > I've got a login prompt and no idea what to use (admin:1234 doesn't work)
>
> What about empty user and password 1234? Because a field "user" at the same
> level as passowrd (i.e. bellow "user") should be there to specify the
> user, and
> it isn't.
>
> >
> > If you have any idea or leads to where to look for ?
>
> How did you install kubernetes? Usually, when installed, a file
> ~/.kube/config
> is created and the basic auth details are there (this kubectl config view
> should
> show that file). But that file is missing the "user" field at the same
> level as
> "password".
>
> Did you create that file manually?
>
> --
> 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