Yes, the kubectl config commands are all about your local .kube/config file. They don't mutate the cluster's auth settings.
On Tue, May 17, 2016 at 12:03 AM, Pierre Lerouge <[email protected]> wrote: > Hi Thank you for you awnser, > Sorry that's a wrong copy paste there is a field username at the same > level as password. > I've tryed to install it through the cluster/vsphere scripts > It didn't go exactly well (problems with corporate proxy) > Things are sureley missing. > I did not create the file, but I've try to run > kubectl config set-credentials admin --username=admin --password='1234' > > that's what create the config. > > > Le lundi 16 mai 2016 19:45:02 UTC+2, Rodrigo Campos a écrit : >> >> 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.
