Cluster Credentials

Credentials are stored in ~/.kube/config by default as yaml format, you may also use custom file with environment variable $KUBECONFIG.

After registration complete you will find generated config on dashboard. Save it and use with $KUBECONFIG or put in ~/.kube/config of merge with existing config that you have

Example with KUBECONFIG

export KUBECONFIG=$HOME/kuber_config
kubectl version

Outout should have "Server Version", means we can connect to cluster:

Server Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.5", GitCommit:"51dd61...}
                                                                ^ kubernetes cluster version