We noted that we could only use kubectl
for the current user under which ran the installation script. For other users, seems that kubectl
cannot connect to the server. It is probably a config thing? How do we get it working for other users? Thanks!
Hello! If you are okay with the other users having the same level of API access as the user which did the installation, you should be able to copy the kubeconfig file from /etc/kubernetes/admin.conf
to ~/.kube/config
for any other user to get the authentication working. Hope that helps!
I see, this is really helpful, thanks!