本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)17k · #10789

whizard-notification

できること

このスキルは、KubeSphereの通知を管理するよう、AIエージェントを支援します。アラートを適切な人やチャンネルに届けたい運用者向けです。また、一定時間、うるさいアラートを黙らせる必要がある人向けです。

使う場面

  • ✓監視からのアラートを、チャットやメールなどの新しいチャンネルに送りたいとき。
  • ✓あるチームのアラートは、そのチームのチャンネルだけに届けたいとき。
  • ✓メンテナンス中にアラートがうるさく、サイレンスを設定する必要があるとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/kubesphere/kubesphere/blob/master/skills/whizard-notification/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“shopネームスペースのアラートを、当社のチームのチャットチャンネルにルーティングし、今夜のメンテナンス時間帯のサイレンスを追加してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは通知の設定を確認し、テナントのラベルによるチャンネルとルーティングのルールを追加し、必要に応じてサイレンスを作成します。アラートがソースから受信者まで届く経路を確認します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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

よくある質問

アラートはどこから来ますか?

Alertmanagerから来ると述べています。監視、Kubernetesのイベント、監査、ロギングのアラートを含みます。

アラートはどのようにルーティングされますか?

ネームスペースなどのテナントラベルを使い、正しいチャンネルを選びます。

アラートを黙らせることはできますか?

はい。一定時間、アラートに一致するサイレンスを作成できます。

詳細

作者による元の説明

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

repo: kubesphere/kubesphere

人気

GitHubのスター
17k
ランキング
#10789
ライセンス
—
更新日
2026/7/14

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル