kubesphere-fluid
ما الذي تفعله
تساعد هذه المهارة وكيلك على إدارة Fluid، وهو امتداد للتخزين المؤقت للبيانات في KubeSphere. وهي موجهة إلى فرق المنصة والبيانات الذين يريدون وصولاً أسرع إلى مجموعات البيانات الكبيرة من داخل المجموعة.
متى تستخدمها
- ✓عندما تريد تثبيت امتداد Fluid في KubeSphere أو ترقيته.
- ✓عندما تحتاج إلى إنشاء مجموعة بيانات وبيئة تشغيل للتخزين المؤقت لمجموعة من الملفات.
- ✓عندما تريد تسخين الذاكرة المؤقتة لمجموعة بيانات قبل بدء مهمة، أو تغيير حجم بيئة تشغيلها.
رابط المهارة
https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-fluid/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك إعداد Fluid بحيث تُخزَّن مجموعة بيانات التدريب لدينا مؤقتاً في المجموعة، وتسخين الذاكرة قبل بدء المهمة؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يثبّت وكيلك امتداد 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 للتخزين المؤقت.
هل يخمّن وكيلي إعدادات بيئة التشغيل؟
يحذف الحقول الاختيارية بدلاً من تخمينها، ويتحقق من إصدارات الواجهات المثبتة أولاً.
هل تشمل الميزات المتقدمة؟
ليس افتراضياً. ميزات مثل النسخ الاحتياطي للبيانات تُعامل كمهمة لاحقة إلا إذا طلبتها.
التفاصيل
الوصف الأصلي من المؤلف
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
- الترخيص
- —
- آخر تحديث
- 14/7/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
frontend-forge-fe-operations
17kيساعد وكيلك على إدارة موارد FrontendExtension في KubeSphere، بما في ذلك بنائها ونشرها وتصحيح أخطائها.
frontend-forge-fi-operations
17kيساعد وكيلك على إنشاء موارد FrontendIntegration وتحديثها وتفعيلها وتعطيلها وفحصها، وكذلك امتداد frontend-forge في KubeSphere.
frontend-integration-yaml
17kيساعد وكيلك على إنشاء ملف YAML جاهز للإرسال لـ FrontendIntegration لقائمة واحدة تحتوي على صفحة أو أكثر.
kubeeye
17kيساعد وكيلك على تثبيت KubeEye وإعداد قواعد فحص المجموعة وخطط الفحص، ثم قراءة تقارير الفحص.
مهارات مشابهة
discrawl
394kيتيح لوكيلك البحث في أرشيف محلي محفوظ لرسائل Discord وتلخيصه، والتحقق من مدى حداثته، وقراءة الرسائل المباشرة.
clickhouse-io
280kيساعد وكيلك على تحسين الاستعلامات والمخططات في ClickHouse وتطبيق أفضل ممارسات التحليل عالي الأداء، ويفيد عندما تكون الاستعلامات التحليلية بطيئة.
scientific-db-pubmed-database
280kيساعد وكيلك على البحث عن المقالات العلمية في المجال الطبي الحيوي. مفيد للبحوث التي تحتاج إلى معلومات طبية محددة.