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
-
Log in to the KubeSphere web console with a user who has the Cluster Management permission.
-
Click Cluster Management.
-
Click on the right side of the cluster you want to edit, then select Update kubeconfig from the dropdown list.
-
In the Update kubeconfig dialog, enter the kubeconfig information and then click Update.
Tip You can click 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.
Feedback
Was this page Helpful?
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.