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
@@ -0,0 +1,56 @@
# Development Overlay for RoboCo
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: roboco
resources:
- ../../base
# Development-specific patches
patches:
# Single replica for development
- patch: |-
- op: replace
path: /spec/replicas
value: 1
target:
kind: Deployment
name: roboco-api
# Lower resource limits for development
- patch: |-
- op: replace
path: /spec/template/spec/containers/0/resources/limits/memory
value: "512Mi"
- op: replace
path: /spec/template/spec/containers/0/resources/limits/cpu
value: "250m"
target:
kind: Deployment
name: roboco-api
# Development PostgreSQL resources
- patch: |-
- op: replace
path: /spec/template/spec/containers/0/resources/limits/memory
value: "1Gi"
- op: replace
path: /spec/template/spec/containers/0/resources/limits/cpu
value: "500m"
target:
kind: StatefulSet
name: postgres
# Image tags for development (use latest)
images:
- name: ghcr.io/renzof/roboco-api
newTag: latest
- name: ghcr.io/renzof/roboco-orchestrator
newTag: latest
# Config overrides
configMapGenerator:
- name: roboco-config
literals:
- ENVIRONMENT=development
- LOG_LEVEL=DEBUG
- DEBUG=true