opensearch
यह क्या करती है
यह स्किल AI एजेंट को OpenSearch सेट करने में मदद करती है, जो KubeSphere observability के पीछे का search और storage engine है। यह उन ऑपरेटरों के लिए है जो logs और events को एक ही जगह रखना और खोजना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप KubeSphere logging या auditing के लिए OpenSearch extension इंस्टॉल करना चाहते हैं।
- ✓जब आपको logs, events या notifications के लिए OpenSearch की storage सेटिंग बदलनी हो।
- ✓जब आप जाँचना चाहते हैं कि OpenSearch सही क्लस्टरों पर इंस्टॉल, चालू और चल रहा है या नहीं।
Skill का लिंक
https://github.com/kubesphere/kubesphere/blob/master/skills/opensearch/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप जाँच सकते हैं कि हमारे host क्लस्टर पर OpenSearch इंस्टॉल और चालू है, और दिखा सकते हैं कि वह किन क्लस्टरों पर चल रहा है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट kubectl से install plan और extension की स्थिति पढ़ता है, ताकि देखे कि OpenSearch चालू है और कहाँ चल रहा है। फिर वह उसके master, data और वैकल्पिक dashboard हिस्सों की इंस्टॉल सेटिंग में मदद करता है।
तकनीकी सामग्री (मूल 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 क्या संग्रहित करता है?
यह logs, audit events, Kubernetes events और notification इतिहास जैसा observability डेटा संग्रहित करता है।
कौन-से हिस्से चालू किए जा सकते हैं?
स्किल master node, data nodes, एक वैकल्पिक dashboard और पुराने indexes हटाने वाला curator सूचीबद्ध करती है।
डिफ़ॉल्ट रूप से कितने data nodes इस्तेमाल होते हैं?
स्किल डिफ़ॉल्ट रूप से तीन data node replicas सूचीबद्ध करती है।
जानकारी
लेखक का मूल विवरण
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
- लाइसेंस
- —
- अपडेट की गई
- 14/7/2026
कमेंट
- …
इस repository की और skills
frontend-forge-fe-operations
17kआपके एजेंट को KubeSphere में FrontendExtension संसाधनों को बनाने, प्रकाशित करने और डीबग करने में मदद करती है।
frontend-forge-fi-operations
17kआपके एजेंट को KubeSphere में FrontendIntegration संसाधन और frontend-forge extension बनाने, अपडेट करने, चालू या बंद करने और जाँचने में मदद करती है।
frontend-integration-yaml
17kआपके एजेंट को एक मेनू और उसके एक या अधिक पेजों के लिए सबमिट करने योग्य FrontendIntegration YAML बनाने में मदद करती है।
kubeeye
17kआपके एजेंट को KubeEye इंस्टॉल करने, क्लस्टर निरीक्षण नियम और योजनाएँ सेट करने, और फिर निरीक्षण रिपोर्ट पढ़ने में मदद करती है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।