Alerting Policies (Workload Level)
- You have enabled KubeSphere Alerting.
- To receive alert notifications, you must configure a beforehand.
- You need to create a workspace, a project and a user (). The user must be invited to the project with the role of . For more information, see Create Workspaces, Projects, Users and Roles.
Log in to the console as and go to your project. Go to Alerting Policies under Monitoring & Alerting, then click Create.
In the displayed dialog box, provide the basic information as follows. Click Next to continue.
- Name. A concise and clear name as its unique identifier, such as .
- Alias. Help you distinguish alerting policies better.
- Description. A brief introduction to the alerting policy.
- Threshold Duration (min). The status of the alerting policy becomes when the duration of the condition configured in the alerting rule reaches the threshold.
- Severity. Allowed values include Warning, Error and Critical, providing an indication of how serious an alert is.
On the Message Settings tab, enter the alert summary and message to be included in your notification, then click Create.
To edit an alerting policy after it is created, on the Alerting Policies page, click on the right.
Click Edit from the drop-down menu and edit the alerting policy following the same steps as you create it. Click OK on the Message Settings page to save it.
Click Delete from the drop-down menu to delete an alerting policy.
Under Alert Monitoring, the Alert Monitoring chart shows the actual usage or amount of resources over time. Alerting Message displays the customized message you set in notifications.