kubesphere-fluid
できること
このスキルは、KubeSphereのデータキャッシュ拡張機能であるFluidを、AIエージェントが管理するよう支援します。クラスター内から大きなデータセットへのアクセスを速くしたいプラットフォームやデータのチーム向けです。
使う場面
- ✓KubeSphereのFluid拡張機能をインストールまたはアップグレードしたいとき。
- ✓ファイルのまとまりのために、データセットとキャッシュのランタイムを作る必要があるとき。
- ✓ジョブの実行前にデータセットのキャッシュをウォームアップしたい、またはランタイムを拡張したいとき。
スキルのリンク
https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-fluid/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“学習データのデータセットをクラスター内にキャッシュするようにFluidを設定し、ジョブの開始前にキャッシュをウォームアップしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、Fluid拡張機能をインストールまたは確認し、マウント設定を含むデータセットとランタイムのマニフェストを書きます。データの読み込みを実行してキャッシュをウォームアップし、ポッドとログを確認できます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
KubeSphere Fluid Management
Use this skill for the full Fluid lifecycle in KubeSphere:
- Install or upgrade the Fluid extension through
InstallPlan - Query extension status, CRDs, Pods, and logs
- Generate
Datasetmanifests with mount configuration - Generate
AlluxioRuntime,JuiceFSRuntime, orThinRuntimemanifests for caching - Perform DataLoad for cache warming
- Scale runtime replicas
- Uninstall the Fluid extension
- Troubleshoot Fluid Pods, CRDs, and mount issues
Out of scope by default:
- Advanced Fluid operations not requested by the user, such as
DataBackuporGooseFS - Deep tiered storage configuration without user requirements
If the user explicitly asks for those, acknowledge that they are Fluid capabilities but treat them as a follow-up task.
Response Rules
- Prefer executable output:
InstallPlanYAML,DatasetYAML,AlluxioRuntimeYAML, kubectl commands, or a short ordered procedure. - Verify the extension name and exact version before generating a final
InstallPlan. - Default the extension name to
fluidonly if the user context or cluster output does not expose a different resource name. - Use
upgradeStrategy: Manualunless the user explicitly asks for something else. - Omit optional fields instead of guessing values.
- Before generating Dataset or Runtime, prefer checking the installed API versions:
kubectl api-resources --api-group data.fluid.io
- If the cluster version is unknown and the user only wants an example, use:
- Dataset:
data.fluid.io/v1alpha1 - AlluxioRuntime:
data.fluid.io/v1alpha1 - JuiceFSRuntime:
data.fluid.io/v1alpha1 - ThinRuntime:
data.fluid.io/v1alpha1
- Dataset:
- For uninstall requests, warn that deleting CRDs or CR instances can remove application configuration.
CRITICAL: Parameter Handling
ALWAYS use the exact values provided by the user. Never substitute or guess values.
When generating YAML manifests:
| Parameter | Rule |
|---|---|
name |
MUST use user's value exactly |
namespace |
MUST use user's value exactly |
mountPoint |
MUST use user's value exactly (e.g., s3://bucket, oss://bucket, pvc://, https://) |
replicas |
MUST use user's value exactly |
quota |
MUST use user's value exactly |
mediumType |
Use user's value, default to MEM if not specified |
path |
Use user's value, default to /dev/shm if not specified |
WRONG: Using pvc:// when user specified s3://mybucket/spark-data
RIGHT: Using exactly what user provided: s3://mybucket/spark-data
CRITICAL: Operation Scope
Each operation has a specific scope. Do NOT create additional resources unless user explicitly asks.
| User Request | Output Scope |
|---|---|
| "Create Dataset" | Only Dataset YAML |
| "Create AlluxioRuntime" | Only AlluxioRuntime YAML (NOT Dataset) |
| "Create JuiceFSRuntime" | Only JuiceFSRuntime YAML (NOT Dataset) |
| "Create ThinRuntime" | Only ThinRuntime YAML (NOT Dataset) |
| "Create Dataset with Runtime" | Both Dataset + Runtime YAML |
| "Create DataLoad" | Only DataLoad YAML |
Example:
- User says: "Create an AlluxioRuntime" → Output ONLY AlluxioRuntime YAML
- User says: "Create a Dataset with AlluxioRuntime" → Output both Dataset and AlluxioRuntime YAML
Version Mapping Discovery
When the user asks for precision, prove the version mapping first:
# Discover KubeSphere extension version
kubectl get extensionversions.kubesphere.io -l kubesphere.io/extension-ref=fluid
kubectl get extensionversion fluid-<version> -o yaml
# Discover Fluid runtime image or controller version
kubectl get pods -n fluid-system -o wide
kubectl get deploy -n fluid-system alluxio-runtime-controller -o jsonpath='{.spec.template.spec.containers[*].image}'
kubectl describe pod -n fluid-system <fluid-pod>
If these commands disagree with assumed mappings, prefer cluster output over defaults.
Discovery Commands
This section provides three approaches for querying Fluid status:
- KubeSphere API (curl) - for extension management and multi-cluster queries
- kubectl - for direct Kubernetes resource operations
- ksctl CLI - KubeSphere command-line tool
Option 1: Using KubeSphere API (curl)
Use curl with environment variables for querying KubeSphere extension status and multi-cluster resources.
Environment Variables:
export KS_HOST="http://<kubesphere-host>" # KubeSphere console URL (required)
export KS_USERNAME="admin"
よくある質問
どのランタイムに対応していますか?
キャッシュのためのAlluxio、JuiceFS、Thinのランタイムを扱っています。
エージェントはランタイムの設定を推測しますか?
いいえ。オプションの項目は推測せずに省き、先にインストール済みのAPIバージョンを確認します。
高度な機能も含まれますか?
既定では含まれません。データのバックアップのような機能は、あなたが頼まない限り、後続の作業として扱われます。
詳細
作者による元の説明
KubeSphere Fluid management Skill. Use when user asks to install or enable Fluid, check Fluid status, view Fluid pods/logs/CRDs, create or update Dataset, AlluxioRuntime, JuiceFSRuntime, or ThinRuntime, perform DataLoad or cache warming, scale runtime, or troubleshoot Fluid issues in KubeSphere.
repo: kubesphere/kubesphere
人気
- GitHubのスター
- 17k
- ランキング
- #10774
- ライセンス
- —
- 更新日
- 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をインストールし、クラスターの点検ルールと計画を設定して、点検レポートを読めるよう支援します。
似ているスキル
discrawl
394k保存済みのローカルなDiscordメッセージのアーカイブを検索して要約し、その新しさを確認し、ダイレクトメッセージを読めるようエージェントを支援します。
clickhouse-io
280kエージェントがClickHouseデータベースのクエリとスキーマを最適化できるようにします。高性能な分析処理向けのベストプラクティスを適用します。分析クエリが遅すぎるときに使います。
scientific-db-pubmed-database
280kエージェントが生物医学分野の科学論文を検索するのに役立ちます。特定の医療情報が必要な研究に便利です。