Help Center/ Cloud Container Engine/ FAQs/ API & kubectl FAQs/ How Do I Download kubeconfig for Connecting to a Cluster Using kubectl?
Updated on 2025-04-25 GMT+08:00

How Do I Download kubeconfig for Connecting to a Cluster Using kubectl?

  1. Log in to the CCE console and click the name of the target cluster to access the cluster console.
  2. In the Connection Information area, check the kubectl access mode.
  3. In the window that slides out from the right, download the kubectl configuration file (kubeconfig.json).

    Figure 1 Downloading kubeconfig.json