Search Docs...
⌘ K
OverviewDeploymentManagementOperationReference
    AKE 1.3.2
  • Managing the Kubernetes service>
  • Managing the management cluster

Downloading the Kubeconfig file of the management cluster

The Kubeconfig file contains the address and authentication credentials for accessing the management cluster, which can be used with the kubectl command tool or other clients. You can follow the steps below to obtain the cluster's Kubeconfig file, and choose different methods to access the management cluster. For specific access methods, refer to the Accessing Clusters chapter on the Kubernetes official website.

Precaution

After creating a management cluster, the Kubeconfig file will be updated every 183 days. Each file has a validity period of one year, which is calculated as follows:

  • Before a Kubeconfig file update, the expiration time of the Kubeconfig file is calculated as the cluster's creation time plus 365 days.
  • After a Kubeconfig file update, the expiration time of the Kubeconfig file is calculated as the most recent update time plus 365 days.

Procedure

  1. In the Kubernetes service interface, select Settings > Management cluster, and click Download Kubeconfig in the upper right corner of the interface.
  2. The Download Kubeconfig dialog box that pops up will display the specific content of the Kubeconfig file. Choose one of the following methods to obtain the content:
    • Click Download at the bottom right corner to download the entire file.
    • Click Copy at the bottom left corner to copy the content of the file.