Fetch and save the kubeconfig

doctl kubernetes cluster

  • Manage Kubernetes clusters and view configuration options relating to clusters.
    More information: <https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

doctl kubernetes cluster kubeconfig save {{cluster_name}}

click the source code to copy install doctl kubernetes cluster on any operating system with command-not-found.com