Export the cluster configuration to the ~/.kube/config file

kops

  • Create, destroy, upgrade and maintain Kubernetes clusters from the command-line.
    More information: <https://github.com/kubernetes/kops/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

kops export kubecfg {{cluster_name}}

click the source code to copy