Saltar al contenido
Skillpedia
Bases de datos17 mil · #10774

kubesphere-fluid

Qué hace

Esta skill ayuda a un agente de IA a gestionar Fluid, una extensión de caché de datos para KubeSphere. Está pensada para equipos de plataforma y de datos que quieren un acceso más rápido a grandes conjuntos de datos desde dentro de un clúster.

Cuándo usarla

  • ✓Cuando quieres instalar o actualizar la extensión Fluid en KubeSphere.
  • ✓Cuando necesitas crear un dataset y un runtime de caché para un conjunto de archivos.
  • ✓Cuando quieres precargar la caché de un conjunto de datos antes de que se ejecute un trabajo, o escalar su runtime.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-fluid/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Puedes configurar Fluid para que nuestro conjunto de datos de entrenamiento se guarde en caché en el clúster y precargar la caché antes de que empiece el trabajo?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente instala o comprueba la extensión Fluid, y después escribe los manifiestos de dataset y de runtime con los ajustes de montaje. Puede ejecutar una carga de datos para precargar la caché y revisar los pods y los registros.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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"      
Preguntas frecuentes

¿Qué runtimes cubre la skill?

Cubre los runtimes Alluxio, JuiceFS y Thin para la caché.

¿El agente adivina los ajustes del runtime?

Omite los campos opcionales en lugar de adivinarlos, y primero comprueba las versiones de API instaladas.

¿Incluye funciones avanzadas?

No por defecto. Funciones como la copia de seguridad de datos se tratan como una tarea posterior, salvo que las pidas.

Detalles

Descripción original del autor

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

Popularidad

Estrellas en GitHub
17 mil
Posición en el ranking
#10774
Licencia
—
Actualizada
14/7/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas