whizard-telemetry-ruler
यह क्या करती है
यह स्किल AI एजेंट को KubeSphere में alerting नियम बनाने और प्रबंधित करने में मदद करती है। यह उन ऑपरेटरों के लिए है जिन्हें कुछ events, audit records या log lines दिखने पर alert चाहिए।
कब इस्तेमाल करें
- ✓जब आप चाहते हैं कि किसी namespace में कोई खास Kubernetes event होने पर alert मिले।
- ✓जब किसी संदिग्ध audit event या log पैटर्न के लिए alert चाहिए।
- ✓जब किसी alert नियम को अपडेट या हटाना हो।
Skill का लिंक
https://github.com/kubesphere/kubesphere/blob/master/skills/whizard-telemetry-ruler/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“कृपया एक alert नियम बनाइए जो तब बजे जब payments namespace के किसी pod के log में out-of-memory error आए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट एक नियम समूह लिखता है, जो namespace-स्तर का या पूरे क्लस्टर पर लागू हो सकता है, और आपके बताए events या logs से मेल खाता है। फिर वह alerts को आपके सेट किए receivers तक भेजता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
WizTelemetry Ruler
Overview
WizTelemetry Ruler is an extension component in the KubeSphere Observability Platform that provides event alerting and log alerting capabilities. It can define alerting rules for K8s native events, K8s/KubeSphere auditing events, and K8s logs, evaluate incoming event data and log data, and send alerts to specified receivers such as alertmanager, etc.
When to Use
- Installing or configuring the WizTelemetry Ruler extension
- Creating, updating, or deleting alerting rules (RuleGroup/ClusterRuleGroup)
- Managing alerting configurations
- Using the ruler API to manage alerting rules
Components
| Component | Description | Default Enabled |
|---|---|---|
| whizard-telemetry-ruler | Core ruler component for alerting | true |
Dependencies
- WizTelemetry Platform Service (whizard-telemetry): Required
- WizTelemetry Events (whizard-events): Required if event alerting is enabled
- WizTelemetry Auditing (whizard-auditing): Required if auditing alerting is enabled
- WizTelemetry Logging (whizard-logging): Required if logging alerting is enabled
- WizTelemetry Notification (whizard-notification): Optional (for alert notification)
- WizTelemetry Data Pipeline (vector): Required if alerting persistence is enabled
- OpenSearch (opensearch): Required if alerting persistence is enabled
Installation
Prerequisites
REQUIRED: Complete all steps in order before generating InstallPlan.
Step 1: Get Available Clusters and Confirm Target
⚠️ CRITICAL: DO NOT proceed until target clusters are determined.
Step 1.1: Get available clusters
kubectl get clusters -o jsonpath='{.items[*].metadata.name}'
Step 1.2: Determine target clusters
- If user explicitly specified target clusters in the request → Use those clusters directly, proceed to Step 2
- If user did NOT specify target clusters → Ask user to confirm which clusters to deploy to, then proceed to Step 2
Ask user (if not specified):
Available clusters: host, dev
Which clusters do you want to deploy WizTelemetry Ruler to?
Step 2: Get Latest Version (if not provided by user)
MUST do this to get the latest version:
kubectl get extensionversions -n kubesphere-system -l kubesphere.io/extension-ref=whizard-telemetry-ruler -o jsonpath='{range .items[*]}{.spec.version}{"\n"}{end}' | sort -V | tail -1
This outputs the latest version (e.g., 1.5.0). Note this down - you'll use it in the InstallPlan.
Step 3: Get AlertManager Host (if configuring sink)
Only perform this step if you need to configure sink for alert notifications.
The AlertManager proxy service (alertmanager-proxy) is deployed in the host cluster and exposed via NodePort (default port: 31093).
Step 3.1: Get a host node IP
kubectl get nodes -o jsonpath='{.items[0].status.addresses[?(@.type=="InternalIP")].address}'
Step 3.2: Confirm with user
Ask user to confirm the AlertManager host IP:
Detected AlertManager host: <NODE_IP>
Detected AlertManager port: 31093
Alert URL: http://<NODE_IP>:31093/api/v1/alerts
Do you want to use this URL for alert notifications?
- If user confirms → Use
http://<NODE_IP>:31093/api/v1/alertsas the sink URL - If user provides different URL → Use the user-specified URL
Note: If using WizTelemetry Notification extension, ensure it is installed before installing WizTelemetry Ruler.
Install WizTelemetry Ruler
⚠️ IMPORTANT: Complete prerequisite steps BEFORE this step.
Based on your selections:
- Target clusters: User-confirmed cluster names
- AlertManager URL: From Step 3 (if configuring sink)
⚠️ CRITICAL: InstallPlan metadata.name MUST be whizard-telemetry-ruler. DO NOT use any other name.
⚠️ CRITICAL: config field is YAML format. You MUST:
- Use the config structure exactly as shown in the template
- DO NOT add configuration fields that are not shown in the template
- DO NOT modify the structure or hierarchy
⚠️ CRITICAL: All placeholders MUST be replaced with actual values. DO NOT leave them as placeholders.
Basic Installation Template (with AlertManager)
apiVersion: kubesphere.io/v1alpha1
kind: InstallPlan
metadata:
name: whizard-telemetry-ruler
namespace: kubesphere-system
spec:
extension:
name: whizard-telemetry-ruler
version: <VERSION> # From Step 2
enabled: true
upgrad
अक्सर पूछे जाने वाले सवाल
नियम किन चीज़ों से मेल खा सकते हैं?
स्किल Kubernetes events, Kubernetes और KubeSphere audit events, और Kubernetes logs को कवर करती है।
कौन-से extensions इंस्टॉल होने चाहिए?
इसे platform service चाहिए। events, auditing, logging और notification केवल उन alert प्रकारों के लिए चाहिए जो आप इस्तेमाल करते हैं।
क्या alerts के लिए storage चाहिए?
केवल तभी जब आप alert persistence चालू करें, जिसके लिए data pipeline और OpenSearch चाहिए।
जानकारी
लेखक का मूल विवरण
Use when working with WizTelemetry Ruler extension for KubeSphere, including installation, configuration, alerting rules management
repo: kubesphere/kubesphere
लोकप्रियता
- GitHub स्टार
- 17k
- रैंकिंग में स्थान
- #10790
- लाइसेंस
- —
- अपडेट की गई
- 14/7/2026
कमेंट
- …
इस repository की और skills
frontend-forge-fe-operations
17kआपके एजेंट को KubeSphere में FrontendExtension संसाधनों को बनाने, प्रकाशित करने और डीबग करने में मदद करती है।
frontend-forge-fi-operations
17kआपके एजेंट को KubeSphere में FrontendIntegration संसाधन और frontend-forge extension बनाने, अपडेट करने, चालू या बंद करने और जाँचने में मदद करती है।
frontend-integration-yaml
17kआपके एजेंट को एक मेनू और उसके एक या अधिक पेजों के लिए सबमिट करने योग्य FrontendIntegration YAML बनाने में मदद करती है।
kubeeye
17kआपके एजेंट को KubeEye इंस्टॉल करने, क्लस्टर निरीक्षण नियम और योजनाएँ सेट करने, और फिर निरीक्षण रिपोर्ट पढ़ने में मदद करती है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।