feat: add Kubernetes manifests and A2A protocol support

Phase 2 - A2A Protocol:
- Add A2A models (AgentCard, Task, Message)
- Add A2A service layer
- Add A2A routes with SSE streaming
- Add agent discovery endpoints

Phase 3 - Kubernetes:
- Add deploy/ directory with Kustomize structure
- PostgreSQL StatefulSet with pgvector
- Redis Deployment with persistence
- API and Orchestrator Deployments
- RBAC for orchestrator to manage Jobs
- ArgoCD Application manifest
- Development and production overlays
- K8s Jobs API support in orchestrator

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Renn F
2025-12-28 05:48:51 +01:00
co-authored by Claude Opus 4.5
parent f9398e4caa
commit b943eb7ac1
31 changed files with 3705 additions and 245 deletions
+31
View File
@@ -0,0 +1,31 @@
# Orchestrator Role
# Permissions for spawning and managing agent Jobs
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: roboco-orchestrator
namespace: roboco
labels:
app.kubernetes.io/name: roboco-orchestrator
app.kubernetes.io/component: orchestrator
rules:
# Create/manage agent Jobs
- apiGroups: ["batch"]
resources: ["jobs"]
verbs: ["create", "delete", "get", "list", "watch", "patch"]
# Watch pods for job status
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "list", "watch"]
# Read pod logs for debugging
- apiGroups: [""]
resources: ["pods/log"]
verbs: ["get"]
# Manage ConfigMaps for agent configs (MCP configs, prompts)
- apiGroups: [""]
resources: ["configmaps"]
verbs: ["create", "delete", "get", "list", "update", "patch"]
# Read secrets for agent environment (API keys)
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get"]