Skills

Whizard Events

Use when working with WizTelemetry Events extension for KubeSphere, including...

Install

npx skills add kubesphere/kubesphere --skill whizard-events -g -a claude-code -y
Repository
kubesphere/kubesphere17.1k
Category
Engineering
Updated
4mo ago
License
See repository
Context cost
Mediumabout 1,723 tokens
Runs scripts
No, instructions only

What it does

Use when working with WizTelemetry Events extension for KubeSphere, including installation, configuration, and event query API

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

ComponentDescriptionDefault Enabled
kube-events-exporterKubernetes event collection and exporttrue

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.

Read the whole SKILL.md on GitHub

More in Engineering