Files
KNELk8s/clusters/pfv-k8s/infrastructure/mcpjungle/deployment.yaml
T

67 lines
1.9 KiB
YAML

# MCPJungle — self-hosted MCP gateway/registry (fleet AI-operator control point)
# Enterprise mode (default): admin/users, API tokens, tool groups, access control.
# SQLite on local-path PVC; single replica. Kept OFF the workstation node
# (dev-only rule) via required node affinity.
apiVersion: apps/v1
kind: Deployment
metadata:
name: mcpjungle
namespace: mcpjungle
labels:
app: mcpjungle
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: mcpjungle
template:
metadata:
labels:
app: mcpjungle
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: NotIn
values: [ultix-streaming]
containers:
- name: mcpjungle
image: ghcr.io/mcpjungle/mcpjungle@sha256:59940d2e3a586ab9a063cf24fa37460bc993686fa056729fd1ada25436123dd9
args: ["start", "--enterprise"]
ports:
- containerPort: 8080
name: http
env:
- name: SQLITE_DB_PATH
value: /data/mcpjungle.db
volumeMounts:
- name: data
mountPath: /data
readinessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 10
periodSeconds: 10
livenessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 30
periodSeconds: 20
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
memory: 512Mi
volumes:
- name: data
persistentVolumeClaim:
claimName: mcpjungle-data