frontend-forge-fe-oper…
Operate FrontendExtension (FE) resources in frontend-forge: create, update, rebuild, inspect package artifacts, download packages, publish, unpublish, delete,…
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
$ npx -y skills add kubesphere/kubesphere --skill opensearch --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/opensearchContext preview
The summary Claude sees to decide when to auto-load this skill.
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
name: opensearch description: 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
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.
| 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 |
# 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:
kubectl get clusters -o jsonpath='{.items[*].metadata.name}'**⚠️ CRITICAL: Do Not guess.**
**⚠️ CRITICAL: DO NOT proceed until target clusters are determined.**
**Ask user (if not specified):**
Available clusters: host, dev Which clusters do you want to deploy OpenSearch to?
**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**⚠️ CRITICAL: InstallPlan `metadata.name` MUST be `opensearch`. DO NOT use any other name.**
Use the latest version obtained from "Get Latest Version" step.
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:
- hostapiVersion: 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:
- hostapiVersion: 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| 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 |
opensearch-master:
replicas: 1
opensearchJavaOpts: "-Xmx512M -Xms512M"
resources:
requests:
cpu: "100m"
memory: "512Mi"
limits:
cpu: "500m"
memory: "1Gi"
opensearch-data:
replicas: 3
opensearchJavaOpts: "-Xmx2048M -Xms2048M"
resources:
requests:
cpu: "200m"
memory: "2Gi"
limits:
cpu: "2000m"
memory: "4Gi"
persistence:
size: 50Gi
storageClass: "local-volume"> ⚠️ **CRITICAL**: You MUST access the target cluster BEFORE checking status or running any kubectl commands below. > > ❌ **DO NOT** run kubectl commands without using the target cluster kubeconfig > ✅ **MUST** run: `kubectl --kubeconfig=/tmp/<cluster>-kubeconfig ...`
**Checklist (must complete before any operation):**
kubectl get installplan opensearch -o jsonpath='{.spec.clusterScheduling.placement.clusters}' kubectl get cluster <cluster-name> -o jsonpath='{.spec.connection.kubeconfig}' | base64 -d > /tmp/<cluster-name>-kubeconfig> **Note**: Replace `<cluster-name>` with the actual cluster name. Use `spec.connection.kubeconfig` for imported clusters.
> ⚠️ **REQUIRED**: Complete [Access Target Cluster](#access-tar
The container platform tailored for Kubernetes multi-cloud, datacenter, and edge management ⎈ 🖥 ☁️
Repo: kubesphere/kubesphere
Operate FrontendExtension (FE) resources in frontend-forge: create, update, rebuild, inspect package artifacts, download packages, publish, unpublish, delete,…
Operate FrontendIntegration resources and the frontend-forge extension. Use when Codex needs to create a FrontendIntegration from FrontendIntegration YAML,…
Generate canonical FrontendIntegration YAML from a simplified single-menu authoring model for frontend-forge.
Use when deploying KubeEye for cluster inspection, creating InspectRule/InspectPlan resources, or retrieving inspection results. Covers InstallPlan-based…
KubeSphere cluster query Skill (read-only). Use when user requests to view cluster list, cluster status, cluster details, or cluster version info. Do not…
KubeSphere central controller Skill. Routes to specific Skills based on user requests: multi-cluster management (kubesphere-cluster-management), multi-tenant…