Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)17k · #10789

whizard-notification

Skill này làm gì

Skill này giúp agent AI quản lý thông báo trong KubeSphere. Skill dành cho người vận hành muốn cảnh báo được gửi đến đúng người hoặc đúng kênh, và cần tạm tắt những cảnh báo gây nhiễu trong một khoảng thời gian.

Khi nào nên dùng

  • ✓Khi bạn muốn cảnh báo từ hệ thống giám sát được gửi đến một kênh mới, chẳng hạn chat hoặc email.
  • ✓Khi cảnh báo của một đội chỉ nên được gửi đến kênh của đội đó.
  • ✓Khi một cảnh báo gây nhiễu trong lúc bảo trì và bạn cần thiết lập tạm tắt.

Liên kết skill

https://github.com/kubesphere/kubesphere/blob/master/skills/whizard-notification/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/kubesphere/kubesphere/blob/master/skills/whizard-notification/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn vui lòng định tuyến cảnh báo từ namespace shop đến kênh chat của đội chúng tôi và thêm một tạm tắt cho khung bảo trì tối nay không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent xem lại thiết lập thông báo, thêm kênh và quy tắc định tuyến theo nhãn tenant, rồi tạo tạm tắt khi cần. Nó kiểm tra đường đi của một cảnh báo từ nguồn đến người nhận.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

WizTelemetry Notification

Overview

WizTelemetry Notification is the notification component of the KubeSphere observability platform. It receives alerts, cloud events, and audit logs in a multi-tenant Kubernetes environment and distributes notifications to different channels based on tenant labels (e.g., namespace).

Architecture

┌──────────────────────────────────────────────────────────────────────────────┐
│                             Alertmanager                                     │
│      Prometheus  ──▶ metrics alert  ──▶ notification-manager-svc:19093       │
│      K8s Events  ──▶ events alert   ──▶ notification-manager-svc:19093       │
│      Auditing    ──▶ auditing alert ──▶ notification-manager-svc:19093       │
│      Logging     ──▶ logging alert  ──▶ notification-manager-svc:19093       │
└──────────────────────────────────────────────────────────────────────────────┘
                                    │
                    notification-manager (:19093)
                                    │
         ┌──────────────────────────┼──────────────────────────┐
         │                          │                          │
    [Silence Stage]          [Route Stage]             [Filter Stage]
         │                          │                          │
         ▼                          ▼                          ▼
 [Match Silence CRs]         [Match Router CRs]      [alertSelector filtering]
                                 │
                          [Aggregation Stage]
                                 │
                          [Notify Stage]
                                 │
         ┌────────────────────────┼────────────────────────────┐
         │                        │                            │
    Email/Slack              DingTalk/Feishu            WeChat/Webhook
         │
         ▼
  [History Webhook]
         │
         ▼
┌─────────────────────┐
│  Vector Aggregator  │
└────────┬────────────┘
         │
         │
         ▼
     OpenSearch

Components

Component Description Default
notification-manager Core notification management, receives alerts, dispatches to channels true
alertmanager (v0.27.0) Alert routing, deduplication, aggregation, silencing true
alertmanager-proxy Alertmanager API proxy, NodePort 31093 true
notification-history Stores sent notifications via Vector to OpenSearch true

Dependencies

Dependency Type Required
whizard-telemetry extension Required
vector (WizTelemetry Data Pipeline) extension Required only notification history is enabled
opensearch extension Required only notification history is enabled

CRDs

All CRDs belong to notification.kubesphere.io/v2beta2, scope is Cluster.

CRD Kind Description
notificationmanagers.notification.kubesphere.io NotificationManager Notification manager deployment spec (image, replicas, resources, sidecar, receiver config)
receivers.notification.kubesphere.io Receiver Tenant-level notification receiver, references Config
configs.notification.kubesphere.io Config Credential references (via Secret selectors), independent per channel
routers.notification.kubesphere.io Router Route alerts to receivers based on label matchers
silences.notification.kubesphere.io Silence Time-bounded silencing, supports matchers

Supported Notification Channels (11 channels)

Channel Receiver Field Config Field Description
Email spec.email spec.email SMTP with TLS/STARTTLS support
Slack spec.slack spec.slack Slack webhook + token
DingTalk spec.dingtalk spec.dingtalk ChatBot + group conversation
WeChat spec.wechat spec.wechat ChatBot + group conversation
Feishu spec.feishu spec.feishu ChatBot + group conversation
Webhook spec.webhook spec.webhook Generic HTTP / HTTPS POST

Config → Receiver Association Mechanism

Config (credentials) --labels--> Receiver (via label selector) --labels--> Router (route matching)
                        │
                        └── namespace for multi-tenant isolation

Config's labels are used by Receiver's *ConfigSelector. Receiver's labels are used by Router's

Câu hỏi thường gặp

Cảnh báo đến từ đâu?

Skill nói cảnh báo đến từ Alertmanager, gồm cảnh báo giám sát, sự kiện Kubernetes, kiểm toán và ghi log.

Cảnh báo được định tuyến thế nào?

Việc định tuyến dùng nhãn tenant, chẳng hạn namespace, để chọn đúng kênh.

Có thể tạm tắt cảnh báo không?

Có. Skill bao gồm việc tạo tạm tắt khớp với cảnh báo trong một khoảng thời gian đã định.

Chi tiết

Mô tả gốc của tác giả

Use when working with WizTelemetry Notification extension for KubeSphere, including installation, configuration, troubleshooting, notification channel setup, alert routing, and silence management.

repo: kubesphere/kubesphere

Độ phổ biến

Sao GitHub
17k
Vị trí xếp hạng
#10789
Giấy phép
—
Cập nhật
14/7/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự