kubectl get config from the kubernetes cluster

!!! Don't do in production !!

in some cases to get access to kubernetes cluster with kubectl have only a root/admin account to the kubernetes machineĀ 

so you need just copy admin.conf to ./.kube/config in your home directory :

cp /etc/kubernetes/admin.conf /root/.kube/config


!!! please remove after everything is working and do a proper kubectl setup "