Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript
1.4 KB
Raw Blame
# Example SharedFileSystem + a Context that references it.
#
# Layout that demonstrates the SharedFileSystem feature:
#   - One SharedFileSystem ("team-mission") in the mcp-host namespace
#   - One Context ("context-with-team-mission") in mcp-server that references it
#
# A Host pointing at this Context will get a RO mount of team-mission's PVC at
# /workspace/team-mission. The mcp-host built-in clerum__context_files_* tools
# will register and the LLM will see "team-mission/" as a top-level directory
# under the virtual unified root.
---
apiVersion: clerum.io/v1alpha1
kind: SharedFileSystem
metadata:
  name: team-mission
  namespace: mcp-host
spec:
  size: 5Gi
  accessModes:
    # Minikube's default `standard` StorageClass is RWO-only. The wfc
    # Deployment always runs a single replica regardless of access mode;
    # ReadWriteMany requires a StorageClass that supports it.
    - ReadWriteOnce
  directories:
    - docs
    - customer-history
    - runbooks
  security:
    runAsUser: 1000
    runAsGroup: 1000
    fsGroup: 1000
  retainOnDelete: true
---
apiVersion: clerum.io/v1alpha1
kind: Context
metadata:
  name: context-with-team-mission
  namespace: mcp-server
spec:
  contextId: context-with-team-mission
  description: Example Context that mounts the team-mission SharedFileSystem.
  mcpServers:
    - mongodb-server
  sharedFileSystems:
    - name: team-mission
      mountPath: /workspace/team-mission