Edit Notification Subscription
This section describes how to edit a notification subscription.
Prerequisites
-
You need to have the platform-admin role in the KubeSphere platform. For more information, please refer to Users and Platform Roles.
-
The KubeSphere platform needs to have the WizTelemetry Notification extension installed and enabled.
Steps
-
Log in to the KubeSphere web console with a user who has the platform-admin role.
-
In the upper right corner of the page, click the
icon and select WizTelemetry Observability Platform.
-
Click Notification > Notification Subscription in the left navigation pane.
-
On the Notification Subscription page, in the Email tab, view the list of created notification subscriptions.
-
For the notification subscription you want to operate, click
on its right side, then select Edit from the dropdown list.
-
On the Edit Notification Subscription page, edit the information, then click OK.
-
Basic Information
Parameter Description Alias
The alias of the notification subscription.
Description
The description information of the notification subscription. The description can contain any characters, with a maximum length of 256 characters.
-
Recipient Settings
Set the email address(es) to receive notifications. Click Add to set multiple addresses.
-
Notification Reception
Click the toggle switch to enable or disable the notification subscription.
-
Filter Conditions
KubeSphere sends notifications in the form of key-value pairs. When the key and value entered here match the key and value in the label settings of the rule group’s alerting rules, alerts meeting specific conditions can be sent through label filtering. Click Add to set multiple conditions.
Parameter Description Key
The key in the notification content. Click the dropdown list to select a preset key, or you can enter a custom key in the dropdown list.
Operator
The operator for the filter condition.
-
Contains: The value corresponding to the key contains a specific string.
-
Does Not Contain: The value corresponding to the key does not contain a specific string.
-
Exists: The specified key exists in the notification content.
-
Does Not Exist: The specified key does not exist in the notification content.
-
Regex Match: Filters notifications that meet the condition through a regular expression.
Value
The string that the value corresponding to the key must contain. Press Enter to set multiple strings; the condition is satisfied if the value corresponding to the key contains any one of these strings.
-
-
Click Send Test Message to confirm that the notification channel is working properly.
-