tencent cloud

Tencent Kubernetes Engine

Alarm Management

Baixar
Modo Foco
Tamanho da Fonte
Última atualização: 2026-11-11 10:02:55
Traduzido por IA

Use Cases

By configuring monitoring, you can obtain real-time status information of the cluster. By configuring alarms, you can detect issues promptly and trigger alarms, reducing troubleshooting time and enabling timely fault handling. You can ensure the efficient and stable operation of your Kubernetes cluster while reducing Ops costs and increasing business value.
TKE clusters support the following three types of alarm methods:
Basic monitoring metric alarms: Alarms are triggered based on monitoring metrics of the cluster and basic resources.
Log alarms: Alarms are triggered based on log collection and analysis, including custom logs, event logs, and audit logs.
Default event and audit alarms: Built-in default alarm rules for common exception scenarios can be enabled in one click, which is a special form of log alarms. Combined with the large-scale multi-scenario Ops experience of Tencent Cloud TKE, this feature covers common exception scenarios during cluster and container operation. It can promptly send alarms to help users quickly detect and locate issues and maintain stable operation of clusters and business. It has the following features:
Preset: Default alarm rules are preconfigured, so users do not need to create them manually, which is convenient and efficient.
General applicability: Default alarm rules are usually applicable to most scenarios and can meet the observability needs of most users.
Flexibility: Users can customize alarm rules based on their actual needs.
Easy management: Default alarm rules can help users quickly build a basic monitoring system and reduce management costs.

Prerequisites

Basic monitoring metric alarms: Metric alarms for basic resources related to the cluster. The data link of such alarms is synchronized from Cloud Monitor basic resource monitoring. For more information, see Basic Resource Monitoring.
Log alarms, default event and audit alarms: Cluster exception event alarms and exception audit alarms. You need to enable the CLS feature at the same time. For more information, see Log Collection, Event Log, and Audit Log.

Operation Guide

Configuring Basic Monitoring Metric Alarms

1. Log in to the TKE console and choose Ops Center > Alarm Settings in the left sidebar.
2. On the Create Alarm Policy page, select TKE (2.0) as the policy type and select the metric dimensions to be configured.
3. Set trigger conditions. You can add multiple metrics. For more information, see Monitoring and Alarm Metric List.
4. Configure alarm notifications.
5. Click Complete. You can then view it in the alarm policy.

Configuring Log Alarms

1. Log in to the TKE console and select Cluster in the left sidebar.
2. On the Cluster Management page, click the target cluster ID to go to the Cluster Details page.
3. Select Log in the left sidebar, configure log collection rules, and deliver logs to CLS. For details, see Collecting Container Logs to CLS, Event Log, and Audit Log.
4. Log in to the CLS console and choose Monitoring and Alarm > Alarm Policy in the left sidebar.
5. Click Create to create a log alarm policy. For details, see Configuring Alarm Policies.

Enabling Default Event and Audit Alarms with One Click

Operation Steps

1. Log in to the TKE console and select Cluster in the left sidebar.
2. On the Cluster Management page, click the target cluster ID to go to the Cluster Details page.
3. Select Alarm in the left sidebar, choose event alarms or audit alarms as needed, and click Enable All.
4. Go to enable event logs and audit logs.
5. Select an alarm policy based on the default alarm template.
6. Associate a notification channel group. Recommended notification channels include email, SMS, WeChat, and phone. For details, see Managing Notification Channel Groups.
7. Click OK to enable the default event alarm policy and audit alarm policy with one click.
8. You can view the created alarm policy in the alarm policy list.
9. You can view alarm records in the alarm history. Click View Details to see more information.

Default Alarm Template



Ajuda e Suporte

Esta página foi útil?

comentários