< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Create Notification Subscription

This section describes how to create a notification subscription.

Note

Currently, only email notification subscriptions are supported.

Prerequisites

  • You should have the Platform Settings Management permission on the KubeSphere platform. For more information, refer to "Platform Roles".

  • WhizardTelemetry Notification should have been installed and enabled.

Steps

  1. Log in to the KubeSphere web console with a user who has the Platform Settings Management permission.

  2. Click cogwheel in the upper-right corner of the KubeSphere web console to enter the Platform Settings page.

  3. Select Notification Management > Notification Subscription in the left navigation pane.

  4. On the Notification Subscription page, click Create under the Email tab.

    • Basic Information

      ParameterDescription

      Name

      The name of the notification subscription.

      The name can only contain lowercase letters, numbers, and hyphens (-), must start and end with a lowercase letter or number, and can be up to 63 characters long.

      Alias

      The alias of the notification subscription. The alias can only contain Chinese characters, letters, numbers, and hyphens (-), cannot start or end with a hyphen (-), and can be up to 63 characters long.

      Description

      The description of the notification subscription. The description can contain any characters and can be up to 256 characters long.

    • Recipient Settings

      Set the email addresses that will receive notifications. Click Add to set multiple addresses.

    • Notification Receipt

      Click the toggle switch to set the notification function to Enabled.

    • Filter Conditions

      The notifications sent by KubeSphere are presented in the form of key-value pairs. When the key and value filled in here match the key and value in the label settings of the alert rules in rule groups, the notifications can be filtered by labels and alert notifications that meet specific label conditions can be sent to receivers. Click Add to set multiple conditions.

      ParameterDescription

      Key

      The key in the notification content. Click the dropdown list to select a preset key, or input 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 specific key exists in the notification content.

      • Does Not Exist: The specific key does not exist in the notification content.

      • Regex Match: Filter notifications that meet the conditions through a regular expression.

      Values

      The value corresponding to the key must include the specified string. Press Enter to set multiple strings. If the value corresponding to the key contains any of these strings, the condition is met.

    • Click Send Test Message to confirm that the notification channel is working properly.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page