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

Set Up Feishu Notification

This section describes how to set up Feishu notification.

Feishu notification functionality supports sending notifications to users through the following two methods:

  • Chat Settings: Use a Feishu application to send notifications to specific users or departments.

  • Chatbot Settings: Use a Feishu chatbot to send notifications to specific group chats.

Prerequisites

  • WhizardTelemetry Notification should have been installed and enabled.

  • You should get the access parameters for the application or chatbot from Feishu in advance. For more information, see Feishu Developer Documentation.

Steps

  1. Log in to the KubeSphere web console.

  2. Click the current username in the upper-right corner of the page, and then select Notification Settings from the dropdown list.

  3. On the Notification Settings page, under the Feishu tab, set the Feishu notification parameters, and then click OK.

    • Chat Settings

      ParameterDescription

      Session ID

      The User ID or Department ID of the session that will receive notifications. Click Add to set multiple session IDs.

    • Chatbot Settings

      ParameterDescription

      Webhook URL

      The Webhook URL of the chatbot. KubeSphere will send notifications to this URL.

      Secret

      The access key of the chatbot.

      Keywords

      The keywords accepted by the chatbot. Click Add to set multiple keywords.

    • 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.

  4. Click the Notification Disabled switch above to enable Feishu notifications.

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