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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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 |
|---|---|---|---|
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 |
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
Bình luận
- …
Thêm skill từ kho mã này
frontend-forge-fe-operations
17kGiúp agent của bạn quản lý tài nguyên FrontendExtension trong KubeSphere, gồm xây dựng, xuất bản và gỡ lỗi chúng.
frontend-forge-fi-operations
17kGiúp agent của bạn tạo, cập nhật, bật, tắt và kiểm tra tài nguyên FrontendIntegration cùng mở rộng frontend-forge trong KubeSphere.
frontend-integration-yaml
17kGiúp agent của bạn tạo file YAML FrontendIntegration sẵn sàng để gửi đi cho một menu với một hoặc nhiều trang.
kubeeye
17kGiúp agent của bạn cài đặt KubeEye và thiết lập quy tắc cùng kế hoạch kiểm tra cụm, sau đó đọc các báo cáo kiểm tra.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.