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 Vogt5eaa3b91570c
diff --git a/.claude/checkpoints/1755111080.json b/.claude/checkpoints/1755111080.json
new file mode 100644
index 0000000000..3e390987be
--- /dev/null
+++ b/.claude/checkpoints/1755111080.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250813-205120", "file": "/home/eric/IdeaProjects/claude-flow/docs/DEPLOYMENT.md", "timestamp": "2025-08-13T18:51:20Z", "type": "pre-edit", "original_branch": "fix_readme-and-documentation"}
diff --git a/.claude/checkpoints/1755111085.json b/.claude/checkpoints/1755111085.json
new file mode 100644
index 0000000000..24b780252a
--- /dev/null
+++ b/.claude/checkpoints/1755111085.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250813-205125", "file": "/home/eric/IdeaProjects/claude-flow/docs/DEPLOYMENT.md", "timestamp": "2025-08-13T18:51:25Z", "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/1755111032.json | 1 + docs/DEPLOYMENT.md | 159 ++++++++++++++++++--------------- 4 files changed, 94 insertions(+), 74 deletions(-) "}
diff --git a/.claude/checkpoints/1755111097.json b/.claude/checkpoints/1755111097.json
new file mode 100644
index 0000000000..fba838fb10
--- /dev/null
+++ b/.claude/checkpoints/1755111097.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250813-205137", "file": "/home/eric/IdeaProjects/claude-flow/docs/DEPLOYMENT.md", "timestamp": "2025-08-13T18:51:37Z", "type": "pre-edit", "original_branch": "fix_readme-and-documentation"}
diff --git a/docs/DEPLOYMENT.md b/docs/DEPLOYMENT.md
index a62e7d5155..eb05fd34c9 100644
--- a/docs/DEPLOYMENT.md
+++ b/docs/DEPLOYMENT.md
@@ -795,27 +795,82 @@ spec:
number: 8080
```
-### Service Manifest
+#### Persistent Volumes and HPA
```yaml
+# k8s/pvc.yaml
apiVersion: v1
-kind: Service
+kind: PersistentVolumeClaim
metadata:
- name: claude-flow-service
- namespace: default
+ name: claude-flow-data-pvc
+ namespace: claude-flow
spec:
- type: LoadBalancer
- selector:
- app: claude-flow
- ports:
- - port: 80
- targetPort: 3000
- protocol: TCP
- name: http
- - port: 8080
- targetPort: 8080
- protocol: TCP
- name: mcp
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 20Gi
+ storageClassName: gp3
+---
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ name: claude-flow-memory-pvc
+ namespace: claude-flow
+spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 10Gi
+ storageClassName: gp3
+---
+# k8s/hpa.yaml
+apiVersion: autoscaling/v2
+kind: HorizontalPodAutoscaler
+metadata:
+ name: claude-flow-hpa
+ namespace: claude-flow
+spec:
+ scaleTargetRef:
+ apiVersion: apps/v1
+ kind: Deployment
+ name: claude-flow
+ minReplicas: 3
+ maxReplicas: 20
+ metrics:
+ - type: Resource
+ resource:
+ name: cpu
+ target:
+ type: Utilization
+ averageUtilization: 70
+ - type: Resource
+ resource:
+ name: memory
+ target:
+ type: Utilization
+ averageUtilization: 80
+ - type: Pods
+ pods:
+ metric:
+ name: custom_metric_requests_per_second
+ target:
+ type: AverageValue
+ averageValue: "50"
+ behavior:
+ scaleUp:
+ stabilizationWindowSeconds: 60
+ policies:
+ - type: Percent
+ value: 50
+ periodSeconds: 60
+ scaleDown:
+ stabilizationWindowSeconds: 300
+ policies:
+ - type: Percent
+ value: 10
+ periodSeconds: 60
```
### ConfigMap