Files
aiworker-backend/src/lib
Hector Ros f104425b91
All checks were successful
Build and Push Backend / build (push) Successful in 5s
Implement Kubernetes pod management for agents
- Add @kubernetes/client-node dependency
- Create K8s client utilities in src/lib/k8s.ts
- Implement createAgentPod and deleteAgentPod functions
- Update launchAgent to actually create pods in K8s
- Update unregisterAgent to delete pods from K8s
- Initialize K8s client on backend startup
- Add rollback logic if pod creation fails

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-01-20 17:34:10 +01:00
..