Help Center/ Cloud Container Engine/ FAQs/ API & kubectl FAQs/ How Do I Download kubeconfig for Connecting to a Cluster Using kubectl?
Updated on 2024-09-04 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 target cluster to access the cluster console.
  2. In the Connection Information area, view the kubectl connection mode.
  3. In the window that is displayed, download the kubectl configuration file (kubeconfig.json).

    Figure 1 Downloading kubeconfig.json