How can I access the API static via basic auth to a Kubernetes cluster on GCE

7/1/2015

I know it's possible to access the static views of the api, but I can't find out the basic auth details that I need to login via the browser. Where can I find these? I'm on GCE and created a cluster.

-- Martijn van Maasakkers
kubernetes

1 Answer

7/1/2015

Run kubectl config view. It'll dump out the auth information used to access your cluster, including the basic auth username and password.

-- Alex Robinson
Source: StackOverflow