This section describes how to edit alert rules in a rule group.

Prerequisites

  • The WizTelemetry Alerting extension must be installed and enabled on the KubeSphere platform.

  • You need to join a cluster or project and have the Rule Group Management permission in the cluster or project. For more information, please refer to Cluster Roles and Project Roles.

Steps

  1. Log in to the KubeSphere web console as a user with Rule Group Management permissions and go to your cluster or workspace.

  2. Click Monitoring and Alerting > Rule Groups in the left navigation pane.

  3. On the Rule Groups page, click Custom Rule Groups or Built-in Rule Groups to open the rule group list.

  4. On the right side of the rule group you want to edit, click more, then select Edit Alerting Rule from the dropdown list.

  5. In the Edit Alert Rule dialog box, edit an existing alert rule or create a new alert rule, then click OK.

    • Hover over an existing alert rule and click the toggle switch to enable/disable the alert rule.

    • Hover over an existing alert rule and click trash-light to delete the alert rule.

    • Hover over an existing alert rule and click pen to modify the settings of the alert rule.

    • Click Add Alert Rule to create a new alert rule.

    Note

    For built-in rule groups, deleting and adding alerting rules is not supported. You can only edit existing alerting rules.