본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)17k · #10787

whizard-events

하는 일

이 스킬은 AI 에이전트가 KubeSphere의 이벤트 확장 기능을 설정하고, 수집된 이벤트를 검색하도록 돕습니다. 경고나 재시작 같은 클러스터 이벤트의 기록이 필요한 운영자를 위한 스킬입니다.

사용하는 경우

  • ✓Kubernetes 이벤트의 기록을 남기기 위해 이벤트 확장 기능을 설치하고 싶을 때.
  • ✓특정 시간이나 워크로드의 클러스터 이벤트를 찾아야 할 때.
  • ✓설치하기 전에 이벤트 확장 기능이 무엇에 의존하는지 알고 싶은 경우.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/kubesphere/kubesphere/blob/master/skills/whizard-events/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“지난 여섯 시간 동안 payments 디플로이먼트의 모든 경고 이벤트를 찾아 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 이벤트 조회 API로 확장 기능이 수집한 이벤트를 검색합니다. 확장 기능을 쓰려면 플랫폼 서비스, 데이터 파이프라인, OpenSearch가 먼저 설치되어 있어야 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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

자주 묻는 질문

이벤트 확장 기능은 무엇에 의존하나요?

WizTelemetry Platform Service, Data Pipeline, OpenSearch에 의존합니다.

어떤 구성 요소가 이벤트를 수집하나요?

스킬은 기본으로 켜져 있는 kube-events-exporter 구성 요소를 언급합니다.

시간으로 이벤트를 검색할 수 있나요?

네. 수집된 이벤트를 검색하는 데 쓰는 이벤트 조회 API를 다룹니다.

상세 정보

작성자의 원본 설명

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

repo: kubesphere/kubesphere

인기도

GitHub 스타
17k
순위
#10787
라이선스
—
업데이트
2026. 7. 14.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬