Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /home/eric/IdeaProjects/claude-flow/docs/DEPLOYMENT.md

Eric Vogt85da896cd4c0
diff --git a/.claude/checkpoints/1755111032.json b/.claude/checkpoints/1755111032.json
new file mode 100644
index 0000000000..f04be784f1
--- /dev/null
+++ b/.claude/checkpoints/1755111032.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250813-205032", "file": "/home/eric/IdeaProjects/claude-flow/docs/AGENTS.md", "timestamp": "2025-08-13T18:50:32Z", "type": "post-edit", "branch": "fix_readme-and-documentation", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1755111016.json | 1 + .claude/checkpoints/1755111017.json | 1 + docs/AGENTS.md | 1011 ++++++++++++++++++++++++++++++++ 5 files changed, 1017 insertions(+), 4 deletions(-) "}
diff --git a/docs/DEPLOYMENT.md b/docs/DEPLOYMENT.md
index 0ffe4fced0..a62e7d5155 100644
--- a/docs/DEPLOYMENT.md
+++ b/docs/DEPLOYMENT.md
@@ -697,83 +697,102 @@ docker stop claude-flow
docker rm claude-flow
```
----
-
-## Kubernetes Deployment
-
-### Deployment Manifest
+#### Services and Ingress
```yaml
-apiVersion: apps/v1
-kind: Deployment
+# k8s/service.yaml
+apiVersion: v1
+kind: Service
metadata:
- name: claude-flow
- namespace: default
+ name: claude-flow-service
+ namespace: claude-flow
labels:
app: claude-flow
- version: v2.0.0
spec:
- replicas: 3
+ type: ClusterIP
+ selector:
+ app: claude-flow
+ ports:
+ - name: http
+ port: 80
+ targetPort: 3000
+ protocol: TCP
+ - name: mcp
+ port: 8080
+ targetPort: 8080
+ protocol: TCP
+ - name: metrics
+ port: 9090
+ targetPort: 9090
+ protocol: TCP
+---
+# Load Balancer Service
+apiVersion: v1
+kind: Service
+metadata:
+ name: claude-flow-lb
+ namespace: claude-flow
+ annotations:
+ service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
+ service.beta.kubernetes.io/aws-load-balancer-ssl-cert: "arn:aws:acm:us-west-2:123456789:certificate/..."
+ service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "https"
+spec:
+ type: LoadBalancer
selector:
- matchLabels:
- app: claude-flow
- template:
- metadata:
- labels:
- app: claude-flow
- spec:
- containers:
- - name: claude-flow
- image: claudeflow/claude-flow:alpha
- ports:
- - containerPort: 3000
- name: api
- - containerPort: 8080
- name: mcp
- env:
- - name: NODE_ENV
- value: "production"
- - name: CLAUDE_API_KEY
- valueFrom:
- secretKeyRef:
- name: claude-flow-secrets
- key: claude-api-key
- - name: DATABASE_URL
- valueFrom:
- secretKeyRef:
- name: claude-flow-secrets
- key: database-url
- resources:
- requests:
- memory: "512Mi"
- cpu: "500m"
- limits:
- memory: "2Gi"
- cpu: "2000m"
- livenessProbe:
- httpGet:
- path: /health
- port: 3000
- initialDelaySeconds: 30
- periodSeconds: 10
- readinessProbe:
- httpGet:
- path: /ready
- port: 3000
- initialDelaySeconds: 5
- periodSeconds: 5
- volumeMounts:
- - name: config
- mountPath: /app/config
- - name: data
- mountPath: /data
- volumes:
- - name: config
- configMap:
- name: claude-flow-config
- - name: data
- persistentVolumeClaim:
- claimName: claude-flow-pvc
+ app: claude-flow
+ ports:
+ - name: https
+ port: 443
+ targetPort: 3000
+ protocol: TCP
+ - name: http
+ port: 80
+ targetPort: 3000
+ protocol: TCP
+---
+# Ingress for advanced routing
+apiVersion: networking.k8s.io/v1
+kind: Ingress
+metadata:
+ name: claude-flow-ingress
+ namespace: claude-flow
+ annotations:
+ kubernetes.io/ingress.class: "nginx"
+ cert-manager.io/cluster-issuer: "letsencrypt-prod"
+ nginx.ingress.kubernetes.io/rate-limit: "100"
+ nginx.ingress.kubernetes.io/rate-limit-window: "1m"
+ nginx.ingress.kubernetes.io/ssl-redirect: "true"
+ nginx.ingress.kubernetes.io/proxy-body-size: "10m"
+ nginx.ingress.kubernetes.io/proxy-connect-timeout: "600"
+ nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
+ nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
+spec:
+ tls:
+ - hosts:
+ - api.claude-flow.com
+ - mcp.claude-flow.com
+ secretName: claude-flow-tls
+ rules:
+ - host: api.claude-flow.com
+ http:
+ paths:
+ - path: /
+ pathType: Prefix
+ backend:
+ service:
+ name: claude-flow-service
+ port:
+ number: 80
+ - host: mcp.claude-flow.com
+ http:
+ paths:
+ - path: /
+ pathType: Prefix
+ backend:
+ service:
+ name: claude-flow-service
+ port:
+ number: 8080
```
### Service Manifest