Updating a kubeconfig File
This section describes how to update the kubeconfig file of a cluster to handle leakage or expiration of cluster certificates or perform routine security maintenance.
Only the kubeconfig files of attached clusters and partner cloud clusters can be updated.
Prerequisites
- The target cluster has not joined any fleet.
- The anp-agent add-on has been installed in the cluster to ensure that the new kubeconfig file can be used for connectivity detection with the cluster.
Procedure
- Log in to the UCS console. In the navigation pane, choose Fleets.
- Click Clusters Not in Fleet and locate the cluster whose kubeconfig file needs to be updated.
- Click in the upper right corner.
Figure 1 Updating the kubeconfig file
- Upload the local kubeconfig file and select the context address that is the same as the original address.
Figure 2 Uploading the kubeconfig file
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot