Alerting Message (Workload Level)

    You have created a workload-level alert policy and received alert notifications of it. If it is not ready, please refer to Alert Policy (Workload Level) to create one first.

    Hands-on Lab

    1. Log in the console and go to your project. Navigate to Alerting Message under Monitoring & Alerting, and you can see alert messages in the list. In the example of Alert Policy (Workload Level), you set two monitoring targets ( and details-v1), and both of their memory usage are higher than the threshold, so you can see two alert messages corresponding to them.

    1. Select one of the alert messages to enter the detail page. In Alerting Detail, you can see the graph of the memory usage of the monitored workload over time, which has been continuously higher than the threshold of 20 MiB set in the alert rule, so the alert was triggered.

    Switch to Alerting Policy to view the alert policy corresponding to this alert message, and you can see the triggering rule of it set in the example of .

    alerting_message_workload_level_policy

    1. Log in your email to see alert notification mails sent by the KubeSphere mail server. You have received a total of 6 emails. This is because the memory usage of two monitored workloads (Deployments) has exceeded the threshold of continuously, and the notification email is sent every 5 minutes for 3 consecutive times based on the notification rule.

    Click Comment to add comments to current alert messages. For example, as the memory usage of workload is higher than the threshold set based on the alert rule, you can add a comment in the dialog: Default maximum memory usage quota needs to be increased for this workload.