Delete a ConfigMap
This section describes how to delete a ConfigMap.
| Warning |
|---|
A ConfigMap cannot be recovered after deletion. Please perform this operation with caution. |
Prerequisites
You need to join a project and have the ConfigMap Management permission in the project. For more information, see Project Members and Project Roles.
Delete a Single ConfigMap
-
Log in to the KubeSphere web console with a user who has ConfigMap Management permissions and enter your workspace.
-
Click Configuration > ConfigMaps in the left navigation pane.
-
Select a project from the drop-down list in the upper left corner of the page.
-
On the right side of the ConfigMap you want to delete, click
, and then select Delete from the dropdown list.
-
In the Delete ConfigMap dialog box, enter the name of the ConfigMap, and then click OK.
Delete Multiple ConfigMaps in Batches
-
Log in to the KubeSphere web console with a user who has ConfigMap Management permissions and enter your workspace.
-
Click Configuration > ConfigMaps in the left navigation pane.
-
Select a project from the drop-down list in the upper left corner of the page.
-
Select the checkbox on the left of the ConfigMap you want to delete, then click Delete above the ConfigMap list.
-
In the Batch Delete ConfigMaps dialog box, enter the name of the ConfigMap, then click OK.
Note Use commas (,) and spaces to separate multiple names.