whizard-events
What it does
This skill helps an AI agent set up the events extension in KubeSphere and search the events it collects. It is for operators who need a history of cluster events, such as warnings and restarts.
When to use it
- ✓When you want to install the events extension to keep a history of Kubernetes events.
- ✓When you need to find cluster events from a certain time or workload.
- ✓When you want to know what the events extension depends on before installing it.
Skill link
https://github.com/kubesphere/kubesphere/blob/master/skills/whizard-events/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you find all warning events for the payments deployment in the last six hours?”
5 new skills a week. 1 minute to read.
How it works
The agent uses the event query API to search the events collected by the extension. The extension needs the platform service, the data pipeline and OpenSearch to be installed first.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
WizTelemetry Events
Overview
WizTelemetry Events is an extension component in the KubeSphere Observability Platform for Kubernetes event collection, processing, and storage.
When to Use
- Installing or configuring the WizTelemetry Events extension
- Understanding event collection architecture
- Using the event query API to query events
Components
| Component | Description | Default Enabled |
|---|---|---|
| kube-events-exporter | Kubernetes event collection and export | true |
Dependencies
- WizTelemetry Platform Service (whizard-telemetry): Required
- WizTelemetry Data Pipeline (vector): Required
- OpenSearch (opensearch): Required
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 Events to?
Step 2: Get Latest Version (if not provided by user)
MUST do this to get the latest version:
kubectl get extensionversions -l kubesphere.io/extension-ref=whizard-events -o jsonpath='{range .items[*]}{.spec.version}{"\n"}{end}' | sort -V | tail -1
This outputs the latest version (e.g., 1.4.0). Note this down - you'll use it in the InstallPlan.
Install WizTelemetry Events
⚠️ IMPORTANT: Complete prerequisite steps BEFORE this step.
Based on your selections:
- Target clusters: User-confirmed cluster names
⚠️ CRITICAL: InstallPlan metadata.name MUST be whizard-events. 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.
Template
apiVersion: kubesphere.io/v1alpha1
kind: InstallPlan
metadata:
name: whizard-events
spec:
extension:
name: whizard-events
version: <VERSION> # From Step 2
enabled: true
upgradeStrategy: Manual
clusterScheduling:
placement:
clusters:
- <TARGET_CLUSTERS>
Replace placeholders:
<VERSION>: From Step 2 (e.g.,1.4.0)<TARGET_CLUSTERS>: User-confirmed cluster names
Note: OpenSearch sink configuration (endpoints, auth) is provided by the vector extension. Make sure vector is installed and configured with OpenSearch before installing events.
Enable ISM Policy
apiVersion: kubesphere.io/v1alpha1
kind: InstallPlan
metadata:
name: whizard-events
namespace: kubesphere-system
spec:
extension:
name: whizard-events
version: <VERSION> # From Step 2
enabled: true
upgradeStrategy: Manual
config: |
kube-events-exporter:
sinks:
opensearch:
enabled: true
index:
prefix: "{{ .cluster }}-events"
timestring: "%Y.%m.%d"
ism_policy:
enable: true
min_index_age: "7d"
clusterScheduling:
placement:
clusters:
- <TARGET_CLUSTERS>
Configuration Parameters
OpenSearch Sink Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
kube-events-exporter.sinks.opensearch.enabled |
bool | true | Enable OpenSearch sink |
kube-events-exporter.sinks.opensearch.index.prefix |
string | "{{ .cluster }}-events" | Index prefix |
kube-events-exporter.sinks.opensearch.index.timestring |
string | "%Y.%m.%d" | Index time format |
ISM Policy Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
kube-events-exporter.ism_policy.enable |
bool | false | Enable Index State Management policy |
kube-events-exporter.ism_policy.min_index_age |
string | "7d" | Minimum index retention period |
Event Query API
Q
FAQ
What does the events extension depend on?
It depends on the WizTelemetry Platform Service, the Data Pipeline and OpenSearch.
Which component collects the events?
The skill names the kube-events-exporter component, which is enabled by default.
Can I search events by time?
The skill covers the event query API, which is used for searching collected events.
Details
Original description by the author
Use when working with WizTelemetry Events extension for KubeSphere, including installation, configuration, and event query API
repo: kubesphere/kubesphere
Popularity
- GitHub stars
- 17k
- Ranking position
- #10787
- License
- —
- Updated
- 7/14/2026
Comments
- …
More skills from this repository
frontend-forge-fe-operations
17kHelps your agent manage FrontendExtension resources in KubeSphere, including building, publishing and debugging them.
frontend-forge-fi-operations
17kHelps your agent create, update, enable, disable and inspect FrontendIntegration resources and the frontend-forge extension in KubeSphere.
frontend-integration-yaml
17kHelps your agent create ready-to-submit FrontendIntegration YAML for a single menu with one or more pages.
kubeeye
17kHelps your agent install KubeEye and set up cluster inspection rules and plans, then read the inspection reports.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.