I've been able to deploy things via helm, and even directly with a docker push to a GCP container. But I can't figure out how to get kubectl
to access the GCP cluster. When I search for accessing a GCP cluster via kubectl
, it always talks about creating a new cluster. I already have one. I'm still learning this; so in the process I was able to get this to work with a Service rather than a User. However, I'd like to force my kubectl
(especially) to use my GCP's admin user. This is a personal, throwaway account; I wouldn't take this approach on a more serious environment.
How can I tell kubectl
, hey, sign in as joe@example.com
? For that matter, how do I display whatever credentials (user, service, etc) it is trying to use to authenticate?