< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Update kubeconfig

This section explains how to update the kubeconfig information of member clusters.

After adding member clusters on the KubeSphere platform, if there are changes in the access information of the member clusters, you need to update the kubeconfig of the member clusters.

Note

KubeSphere only supports updating the kubeconfig information of clusters added through direct connections and does not support updating the kubeconfig information of clusters added through agent connections.

Prerequisites

You should have the Cluster Management permission on the KubeSphere platform. For more information, refer to "Platform Roles".

Steps

  1. Log in to the KubeSphere web console with a user who has the Cluster Management permission.

  2. Click Cluster Management.

  3. Click more on the right side of the cluster you want to edit, then select Update kubeconfig from the dropdown list.

  4. In the Update kubeconfig dialog, enter the kubeconfig information and then click Update.

    Tip

    You can click upload-dark-white to upload kubeconfig files from your local machine.

    The KubeSphere web console of the host cluster will use the new kubeconfig information to connect to the member clusters.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page