Edit Custom Resource
This section explains how to edit a custom resource.
Prerequisites
You should join a cluster and have the Custom Resource Definition Management permission within the cluster. For more information, refer to "Cluster Members" and "Cluster Roles".
Steps
-
Log in to the KubeSphere web console with a user who has the Custom Resource Definition Management permission, and access your cluster.
-
Click CRDs in the left navigation pane.
-
Click the name of a custom resource definition in the list to open its details page.
-
On the CRDs tab, click on
on the right side of the custom resource you want to edit, and then select Edit YAML from the dropdown list.
-
In the Edit YAML dialog, modify the YAML settings of the custom resource, and then click OK.
-
Click on
in the upper right corner of the dialog to upload a local YAML configuration file.
-
Click on
in the upper right corner of the dialog to download the YAML configuration file to your local machine.
Note You need to modify the settings of the custom resource according to the specifications of the custom resource definition and the API provided by the controller. For more information, refer to the Kubernetes Documentation.
-
Feedback
Was this page Helpful?
Receive the latest news, articles and updates from KubeSphere