Delete Constraint
Time updated:2025-12-22 09:26:17
This section describes how to delete a constraint.
| Warning |
|---|
Once a constraint is deleted, it cannot be recovered. Please perform this operation with caution. |
Prerequisites
-
You need to join a cluster and have the cluster-admin permission in the cluster. For more information, see Cluster Members and Cluster Roles.
-
The KubeSphere platform needs to have the Gatekeeper extension installed and enabled.
Steps
-
Log in to the KubeSphere web console with a user who has cluster-admin permissions and enter your cluster.
-
Click Gatekeeper > Constraints in the left navigation pane.
-
On the right side of the constraint you want to delete, click
, and then select Delete from the dropdown list.
-
In the Delete Constraint dialog box, enter the name of the constraint, and then click OK.