Customize Cluster Name in Notification Messages

This document describes how to customize your cluster name in notification messages sent by KubeSphere.

Prerequisites

You need to have a user with the platform-admin role, for example, the admin user. For more information, see Create Workspaces, Projects, Users and Roles.

Customize Cluster Name in Notification Messages

  1. Log in to the KubeSphere console as admin.

  2. Click Customize Cluster Name in Notification Messages - 图1 in the lower-right corner and select Kubectl.

  3. In the displayed dialog box, run the following command:

    1. kubectl edit nm notification-manager
  4. Add a field cluster under .spec.receiver.options.global to customize your cluster name:

    1. spec:
    2. receivers:
    3. options:
    4. global:
    5. cluster: <Cluster name>
  5. When you finish, save the changes.