ai-code-battle/deploy/k8s/argocd-application.yaml
jedarden 259b9de86a Add Kubernetes manifests for ArgoCD GitOps deployment
Create deploy/k8s/ directory with complete K8s manifests for the
ai-code-battle namespace on apexalgo-iad cluster:

- Namespace and ArgoCD Application (auto-sync, prune, self-heal)
- Match worker Deployment (2 replicas, metrics on :9090)
- Index builder Deployment (Recreate strategy)
- 6 strategy bot Deployments (random, gatherer, rusher, guardian, swarm, hunter)
- ClusterIP Services for all bots (cluster DNS resolution)
- SealedSecret templates (API key, R2 creds, bot secrets, Cloudflare token)
- All containers from forgejo.ardenone.com/ai-code-battle/ registry
- Health/readiness probes and resource limits on all deployments

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 00:57:48 -04:00

23 lines
523 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ai-code-battle
namespace: argocd
spec:
project: default
source:
repoURL: https://forgejo.ardenone.com/ai-code-battle/ai-code-battle.git
targetRevision: master
path: deploy/k8s
directory:
recurse: true
destination:
server: https://kubernetes.default.svc
namespace: ai-code-battle
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- PruneLast=true