opensearch
하는 일
이 스킬은 AI 에이전트가 KubeSphere 관측성 뒤에서 검색과 저장을 맡는 엔진인 OpenSearch를 설정하도록 돕습니다. 로그와 이벤트를 한곳에 보관하고 검색하려는 운영자를 위한 스킬입니다.
사용하는 경우
- ✓KubeSphere 로깅이나 감사를 위해 OpenSearch 확장 기능을 설치하고 싶을 때.
- ✓로그, 이벤트, 알림의 OpenSearch 저장 설정을 바꿔야 할 때.
- ✓OpenSearch가 설치되어 있고 켜져 있으며 올바른 클러스터에서 실행 중인지 확인하고 싶은 경우.
스킬 링크
https://github.com/kubesphere/kubesphere/blob/master/skills/opensearch/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“호스트 클러스터에 OpenSearch가 설치되어 켜져 있는지 확인하고, 어떤 클러스터에서 실행되는지 보여 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 kubectl로 설치 계획과 확장 기능 상태를 읽어 OpenSearch가 켜져 있는지, 어디에서 실행되는지 확인합니다. 그다음 마스터, 데이터, 선택 사항인 대시보드 부분의 설치 설정을 도와줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
OpenSearch Extension
Overview
OpenSearch is a distributed search and analytics engine built into the KubeSphere WizTelemetry Observability Platform. It is used to store, search, and analyze observability data including logs, auditing events, K8s events, and notification history.
When to Use
- Installing OpenSearch cluster for KubeSphere observability extensions
- Configuring OpenSearch storage for logging, events, auditing, and notifications
- Managing OpenSearch Dashboard and Curator components
Components
| Component | Description | Default |
|---|---|---|
| opensearch-master | Master node for cluster coordination | 1 replica |
| opensearch-data | Data nodes for storing indices | 3 replicas |
| opensearch-dashboards | Web UI for visualizing data | disabled |
| opensearch-curator | Scheduled task to clean old indices | enabled |
Prerequisites
Check Installation Status
# Check if OpenSearch is installed
kubectl get installplan opensearch -o jsonpath='{.spec.enabled}'
# Get installed version
kubectl get extension opensearch -o jsonpath='{.status.installedVersion}'
# Get target clusters
kubectl get installplan opensearch -o jsonpath='{.spec.clusterScheduling.placement.clusters}'
Returns:
"true"- installed and enabled"false"- installed but disabled- Empty/Error - not installed
Get Available Clusters
kubectl get clusters -o jsonpath='{.items[*].metadata.name}'
Confirm Target Clusters (MUST DO)
⚠️ CRITICAL: Do Not guess.
⚠️ CRITICAL: DO NOT proceed until target clusters are determined.
- If user explicitly specified target clusters in the request → Use those clusters directly
- If user did NOT specify target clusters → You MUST ask user to confirm which clusters to deploy to
Ask user (if not specified):
Available clusters: host, dev
Which clusters do you want to deploy OpenSearch to?
Get Latest Version
MUST do this to get the latest version:
kubectl get extensionversions -l kubesphere.io/extension-ref=opensearch -o jsonpath='{range .items[*]}{.spec.version}{"\n"}{end}' | sort -V | tail -1
Installation
⚠️ CRITICAL: InstallPlan metadata.name MUST be opensearch. DO NOT use any other name.
Use the latest version obtained from "Get Latest Version" step.
Minimal Installation
apiVersion: kubesphere.io/v1alpha1
kind: InstallPlan
metadata:
name: opensearch
spec:
extension:
name: opensearch
version: <VERSION> # From Get Latest Version step
enabled: true
upgradeStrategy: Manual
clusterScheduling:
placement:
clusters:
- host
With OpenSearch Dashboard
apiVersion: kubesphere.io/v1alpha1
kind: InstallPlan
metadata:
name: opensearch
spec:
extension:
name: opensearch
version: <VERSION> # From Get Latest Version step
enabled: true
upgradeStrategy: Manual
config: |
opensearch-dashboards:
enabled: true
clusterScheduling:
placement:
clusters:
- host
Disable Curator
apiVersion: kubesphere.io/v1alpha1
kind: InstallPlan
metadata:
name: opensearch
spec:
extension:
name: opensearch
version: <VERSION> # From Get Latest Version step
enabled: true
upgradeStrategy: Manual
config: |
opensearch-curator:
enabled: false
clusterScheduling:
placement:
clusters:
- host
Configuration
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
opensearch-master.replicas |
int | 1 | Number of master nodes |
opensearch-master.opensearchJavaOpts |
string | "-Xmx512M -Xms512M" | JVM options |
opensearch-master.resources |
object | - | Resource limits/requests |
opensearch-data.replicas |
int | 3 | Number of data nodes |
opensearch-data.opensearchJavaOpts |
string | "-Xmx1536M -Xms1536M" | JVM options |
opensearch-data.resources |
object | - | Resource limits/requests |
opensearch-data.service.type |
string | NodePort | Service type |
opensearch-data.service.nodePort |
int | 30920 | NodePort for external access |
opensearch-dashboards.enabled |
bool | false | Enable OpenSearch Dashboards |
opensearch-curator.enabled |
bool | true | Enable index cleanup job |
Resource Configuration
opensearch-master:
replicas: 1
opensearchJavaOpts: "-Xmx512M -Xms512M"
resources:
requests:
cpu: "100m"
memory
자주 묻는 질문
OpenSearch는 무엇을 저장하나요?
로그, 감사 이벤트, Kubernetes 이벤트, 알림 이력 같은 관측 데이터를 저장합니다.
어떤 부분을 켤 수 있나요?
마스터 노드, 데이터 노드, 선택 사항인 대시보드, 오래된 인덱스를 지우는 큐레이터(curator)를 나열합니다.
기본으로 데이터 노드는 몇 개인가요?
기본값으로 데이터 노드 복제본 세 개를 나열합니다.
상세 정보
작성자의 원본 설명
Use when installing or configuring the OpenSearch extension for KubeSphere, which provides distributed search and analytics engine for storing logs, events, auditing, and notification history
repo: kubesphere/kubesphere
인기도
- GitHub 스타
- 17k
- 순위
- #10784
- 라이선스
- —
- 업데이트
- 2026. 7. 14.
댓글
- …
이 저장소의 다른 스킬
frontend-forge-fe-operations
17k에이전트가 KubeSphere에서 FrontendExtension 리소스를 관리하도록 돕습니다. 빌드, 게시, 문제 해결까지 포함됩니다.
frontend-forge-fi-operations
17k에이전트가 KubeSphere의 FrontendIntegration 리소스와 frontend-forge 확장 기능을 만들고 관리하도록 돕습니다.
frontend-integration-yaml
17k에이전트가 메뉴 하나와 하나 이상의 페이지로 구성된, 바로 제출할 수 있는 FrontendIntegration YAML을 만들도록 돕습니다.
kubeeye
17k에이전트가 KubeEye를 설치하고, 클러스터 점검 규칙과 계획을 설정한 뒤 점검 보고서를 읽도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.