whizard-telemetry-ruler
Qué hace
Esta skill ayuda a un agente de IA a crear y gestionar reglas de alerta en KubeSphere. Está pensada para operadores que quieren recibir alertas cuando aparecen determinados eventos, registros de auditoría o líneas de registro.
Cuándo usarla
- ✓Cuando quieres una alerta cuando ocurre un evento concreto de Kubernetes en un espacio de nombres.
- ✓Cuando necesitas una alerta por un evento de auditoría sospechoso o un patrón en los registros.
- ✓Cuando una regla de alerta necesita actualizarse o eliminarse.
Link de la skill
https://github.com/kubesphere/kubesphere/blob/master/skills/whizard-telemetry-ruler/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Crea una regla de alerta que se active cuando un pod del espacio de nombres payments registre un error de falta de memoria.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente escribe un grupo de reglas, con alcance de espacio de nombres o de todo el clúster, que coincide con los eventos o registros que describas. Después envía las alertas a los receptores que hayas configurado.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿Qué pueden detectar las reglas?
La skill cubre eventos de Kubernetes, eventos de auditoría de Kubernetes y de KubeSphere, y registros de Kubernetes.
¿Qué extensiones deben estar instaladas?
Necesita el servicio de plataforma. Eventos, auditoría, registros y notificaciones solo son necesarios para los tipos de alerta que uses.
¿Las alertas necesitan almacenamiento?
Solo si activas la persistencia de alertas, que requiere la canalización de datos y OpenSearch.
Detalles
Descripción original del autor
Use when working with WizTelemetry Ruler extension for KubeSphere, including installation, configuration, alerting rules management
repo: kubesphere/kubesphere
Popularidad
- Estrellas en GitHub
- 17 mil
- Posición en el ranking
- #10790
- Licencia
- —
- Actualizada
- 14/7/2026
Comentarios
- …
Más skills de este repositorio
frontend-forge-fe-operations
17 milAyuda a tu agente a gestionar recursos FrontendExtension en KubeSphere, incluidos su compilación, su publicación y su depuración.
frontend-forge-fi-operations
17 milAyuda a tu agente a crear, actualizar, activar, desactivar e inspeccionar recursos FrontendIntegration y la extensión frontend-forge en KubeSphere.
frontend-integration-yaml
17 milAyuda a tu agente a crear un YAML de FrontendIntegration listo para enviar, para un menú con una o más páginas.
kubeeye
17 milAyuda a tu agente a instalar KubeEye, configurar reglas y planes de inspección del clúster, y después leer los informes de inspección.
Skills parecidas
openclaw-update
394 milAyuda a tu agente a actualizar una Gateway de OpenClaw que ya existe, eligiendo el método de actualización que encaja con cómo se instaló y manteniendo tu sesión activa.
diagnose-gateway
394 milAyuda a tu agente a averiguar por qué falla tu Gateway de OpenClaw, revisando ajustes, canales y puertos sin cambiar nada.
crabbox-apps
394 milAyuda a tu agente a abrir y ejecutar una app en una máquina temporal en la nube y mostrar su vista en el panel lateral de tu chat.