There is a similar command for kops, see:
https://github.com/kubernetes/kops/blob/master/docs/cli/kops_export_kubecfg.md

That should do the trick.

On Tuesday, December 5, 2017, bg <griffin...@gmail.com> wrote:

> I have several Kubernetes cluster on GKE, and recently created a cluster
> on AWS. When working against a GKE cluster, I run this command:
>
> gcloud container clusters get-credentials my-cluser --zone us-central1-a
> --my project
>
> I'd like to know how I should be authenticating with a kubernetes cluster
> on AWS provided I created the cluster with kops.
>
> I notice that the cluster and the context were added to my ~/.kube/config
> file, presumably in the `kops create cluster` or the `kops update cluster`
> commands.
>
> More specifically, I ask this because I have a CI server that is
> responsible for authenticating against a cluster and new deploying new
> version of deployments, so I need to find a way to make this very automated.
>
> Thanks in advance!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Kubernetes user discussion and Q&A" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to kubernetes-users+unsubscr...@googlegroups.com.
> To post to this group, send email to kubernetes-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/kubernetes-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to