tencent cloud

Tencent Kubernetes Engine

Risk Push

Baixar
Modo Foco
Tamanho da Fonte
Última atualização: 2026-11-11 10:02:55
Traduzido por IA
TKE can now support custom push rule configuration by integrating with Tencent Cloud EventBridge. Risks detected by TKE can be promptly pushed to you via SMS, in-app messages, and other channels, allowing you to handle them in a timely manner.

Related Component Configuration

1. Log in to the TKE console, and select Clusters in the left sidebar.
2. In the cluster list, click the target cluster ID to go to the cluster details page.
3. On the Component Management page, check whether the kubejarvis version is greater than or equal to 1.0.8.
Note:
If the version is earlier than 1.0.8, upgrade the component.
4. Run the command kubectl edit kjc default, and add the following configuration under exporters:
exporters:
- config: null
name: my-eb-test
requirements:
- diagnostic: hosting-apiserver-etcd-object-counts-check
levels:
- warn
- risk
- serious
type: eb

Push Rule Configuration

1. If you are using EventBridge for the first time, refer to the document Activating EventBridge first.
2. Log in to the TCOP console.
3. On the EventBridge > Event Rules page, select Guangzhou for the region and default for the event bus, and then click Create.
4. Configure the events to be pushed. The following example shows how to configure an event that is triggered when the number of cluster resources exceeds the recommended value/maximum quota:
Rule name: Configure as needed.
Event matching:
Event pattern: Select Form Mode.
Cloud service type: TKE.
Event type

5. Click Next and configure the notification parameters.

Trigger method: Select "Message Push".
Message template: Select "General Notification Template".
Alarm content: Select as needed.
Notification method: Select "Channel Push".
Recipients: The accounts that you want to receive push notifications.
Receiving channel: Select as needed.
Attention:
Usage limits: SMS messages are limited to 500 characters, and phone calls are limited to 350 characters. If fields such as your instance name are too long, messages may fail to be sent because the length exceeds the limit. We recommend that you configure multiple channels at the same time.
Cross-border API callbacks may fail due to network instability. Please make your selection with caution.
6. Click Finish. After users receive the notification, the notification content displays the names of resources that exceed the limit, their current quantities, recommended values, and maximum quotas.



Ajuda e Suporte

Esta página foi útil?

comentários