Skip to main content

Download the kubeconfig of a cluster Kubernetes

Download the kubeconfig file of a cluster Kubernetes. This file allows a Kubernetes client to connect to the cluster.

info

Example of use with kubectl:

kubectl --kubeconfig=kubeconfig.yaml get nodes

Permissions

info

This action requires the following IAM (Identity and Access Management) permissions:

  • kubernetes.cluster.get
  1. From the left-hand side menu, click Managed servicesKubernetes to access the list of clusters Kubernetes.

    Managed services menu

  2. Click the ID of the cluster whose kubeconfig you want to download to access its details page.

    List of clusters Kubernetes

  3. In the General section, click the View KubeConfig button.

    View KubeConfig button in the cluster details

  4. In the window that appears, choose the action you want:

    • Copy KubeConfig: copies the content of the kubeconfig to the clipboard;
    • KubeConfig (download icon): downloads the kubeconfig file in YAML format.
    note

    The View KubeConfig button is only available if the cluster is in the "Running" state.

Cette page vous a-t-elle été utile ?