This section describes how to delete alert rule groups.

Note

KubeSphere only supports deleting custom rule groups and does not support deleting built-in rule groups. You can reset built-in rule groups.

Warning

Rule groups cannot be recovered after deletion. Please perform this operation with caution.

Prerequisites

You need to have the platform-admin role in the KubeSphere platform. For more information, please refer to Users and Platform Roles.

Delete a Single Rule Group

  1. Log in to the KubeSphere web console with a user who has the platform-admin role.

  2. In the upper right corner of the page, click the grid icon and select WizTelemetry Observability Platform.

  3. Click Global Alerting > Custom Rule Groups in the left navigation pane.

  4. On the right side of the rule group you want to delete, click more, then select Delete from the dropdown list.

  5. In the Delete Rule Group dialog box, enter the name of the rule group, then click OK.

Batch Delete Rule Groups

  1. Log in to the KubeSphere web console with a user who has the platform-admin role.

  2. In the upper right corner of the page, click the grid icon and select WizTelemetry Observability Platform.

  3. Click Global Alerting > Custom Rule Groups in the left navigation pane.

  4. Select the checkboxes on the left of the rule groups you want to delete, and then click Delete above the rule group list.

  5. In the Batch Delete Rule Groups dialog box, enter the names of the rule groups, and then click OK.

    Note

    Use commas (,) and spaces to separate multiple names.