본문으로 건너뛰기
Skillpedia
데이터베이스17k · #10774

kubesphere-fluid

하는 일

이 스킬은 AI 에이전트가 KubeSphere용 데이터 캐싱 확장 기능인 Fluid를 관리하도록 돕습니다. 클러스터 안에서 큰 데이터셋에 더 빨리 접근하기를 원하는 플랫폼 팀과 데이터 팀을 위한 스킬입니다.

사용하는 경우

  • ✓KubeSphere에 Fluid 확장 기능을 설치하거나 업그레이드하고 싶을 때.
  • ✓여러 파일을 위해 데이터셋과 캐싱 런타임을 만들어야 할 때.
  • ✓작업 실행 전에 데이터셋의 캐시를 예열하거나 런타임 규모를 조정해야 하는 경우.

스킬 링크

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

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

사용 방법

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

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

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

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 Dataset manifests with mount configuration
  • Generate AlluxioRuntime, JuiceFSRuntime, or ThinRuntime manifests 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 DataBackup or GooseFS
  • 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: InstallPlan YAML, Dataset YAML, AlluxioRuntime YAML, kubectl commands, or a short ordered procedure.
  • Verify the extension name and exact version before generating a final InstallPlan.
  • Default the extension name to fluid only if the user context or cluster output does not expose a different resource name.
  • Use upgradeStrategy: Manual unless 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
  • 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:

  1. KubeSphere API (curl) - for extension management and multi-cluster queries
  2. kubectl - for direct Kubernetes resource operations
  3. 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.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬