Fluid

From paulpas/agent-skill-router · View interactive version

Fluid is an AI agent skill from the GitHub repository paulpas/agent-skill-router. "Fluid in A Kubernetes-native data acceleration layer for data-intensive" applications

How to use this skill

Skill file

related-skills: cncf-argo, cncf-artifact-hub, cncf-aws-eks, cncf-azure-aks

Fluid in Cloud-Native Engineering

Category: Streaming & Data Processing

Status: Active

Stars: 4,800

Last Updated: 2026-04-22

Primary Language: Go

Documentation: A Kubernetes-native data acceleration layer for data-intensive applications


Purpose and Use Cases

Fluid is a core component of the cloud-native ecosystem, serving as data-intensive applications

What Problem Does It Solve?

Fluid addresses the challenge of data-intensive applications that require fast access to data stored in remote systems like object storage. It provides seamless integration with Kubernetes for data access acceleration, cache management, and data mobility.

When to Use This Project

Use Fluid when running data-intensive workloads on Kubernetes that need to access data from remote storage systems. Not ideal for simple deployments or when low-latency data access, data locality optimization, and seamless data movement across storage backends.

Key Use Cases


Architecture Design Patterns

Core Components

Component Interactions

  1. Dataset → Pod: Dataset controller exposes data as Kubernetes Volume that pods can mount
  2. Runtime → Cache: Runtime controller manages caching logic based on access patterns
  3. Scheduler → Dataset: Scheduler considers data locality when placing pods

Data Flow Patterns

  1. Data Access Request: Pod reads data → FUSE → Runtime → Check cache → Fetch if needed → Return data
  2. Dataset Creation: User creates Dataset → Controller creates PVC → FUSE mounts → Data accessible
  3. Cache Warm-up: Workload starts → Data accessed → Cache populated → Subsequent access fast

Design Principles


Integration Approaches

Integration with Other CNCF Projects

API Patterns

Configuration Patterns

Extension Mechanisms


Common Pitfalls and How to Avoid Them

Misconfigurations

Performance Issues

Operational Challenges

Security Pitfalls


Coding Practices

Idiomatic Configuration

API Usage Patterns

Observability Best Practices

Testing Strategies

Development Workflow


Fundamentals

Essential Concepts

Terminology Glossary

Data Models and Types

Lifecycle Management

State Management


Scaling and Deployment Patterns

Horizontal Scaling

High Availability

Production Deployments

Upgrade Strategies

Resource Management


Additional Resources


Troubleshooting

Common Issues

  1. Deployment Failures
  1. Performance Issues
  1. Configuration Errors
  1. Integration Problems

Getting Help

Content generated automatically. Verify against official documentation before production use.

Examples

Basic Configuration

# Basic configuration example
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{project_name}}-config
  namespace: default
data:
  # Configuration goes here
  config.yaml: |
    # Base configuration
    # Add your settings here

Kubernetes Deployment

# Kubernetes deployment for {{project_name}}
apiVersion: apps/v1
kind: Deployment
metadata:
  name: {{project_name}}
  namespace: default
spec:
  replicas: 1
  selector:
    matchLabels:
      app: {{project_name}}
  template:
    metadata:
      labels:
        app: {{project_name}}
    spec:
      containers:
      - name: {{project_name}}
        image: {{project_name}}:latest
        ports:
        - containerPort: 8080
        resources:
          limits:
            memory: "128Mi"
            cpu: "500m"

Kubernetes Service

# Kubernetes service for {{project_name}}
apiVersion: v1
kind: Service
metadata:
  name: {{project_name}}
  namespace: default
spec:
  selector:
    app: {{project_name}}
  ports:
  - protocol: TCP
    port: 80
    targetPort: 8080
  type: ClusterIP

When to Use

Use this skill when:


Core Workflow

  1. Assess Requirements — Understand the use case, scale, integration needs, and existing infrastructure. Checkpoint: Document requirements, constraints, and success criteria.
  1. Design Architecture — Plan component interactions, data flow, and deployment strategy using cloud-native best practices. Checkpoint: Verify the architecture addresses all requirements and follows CNCF conventions.
  1. Implement & Configure — Create manifests, configurations, and deployment scripts. Include resource limits, health checks, and observability hooks. Checkpoint: Validate all YAML against schema and test in a staging environment.
  1. Deploy & Monitor — Apply manifests to the cluster, verify component health, and confirm observability is working. Checkpoint: Confirm all pods/services are running, probes passing, and metrics/alerts configured.

Constraints

MUST DO

MUST NOT DO

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.