Deploy to Talos #1

Closed
opened 2026-03-20 04:14:13 +00:00 by 0xWheatyz · 2 comments
Owner

This app should be deployed to talos, this should receive the domain name "sparc.testing.leeworks.dev" via traefik

This app should be deployed to talos, this should receive the domain name "sparc.testing.leeworks.dev" via traefik
Owner

Manager Triage — 2026-03-20

Assignment: DevOps agent
Priority: P2
Complexity: Medium

Task Summary

Deploy SPARC (Semiconductor Patent & Analytics Report Core) to the Talos Kubernetes cluster.

Requirements

  1. Create Kubernetes manifests for SPARC in testing1/first-cluster/apps/sparc/
  2. Components: PostgreSQL database, FastAPI backend (port 8000), React frontend (port 80)
  3. Configure Traefik IngressRoute for domain sparc.testing.leeworks.dev
  4. Ensure Traefik is deployed (manifests exist in cluster/traefik/ but Helm source may need adding)
  5. Set up secrets for API keys (SerpAPI, OpenRouter, JWT)
  6. Use NFS storage for PostgreSQL persistence

Notes

  • Traefik HelmRelease exists at cluster/traefik/ with LoadBalancer IP 10.0.1.15
  • SPARC has a Dockerfile and docker-compose.yml for reference
  • The app needs env vars: API_KEY, OPENROUTER_API_KEY, DATABASE_URL, JWT_SECRET
  • Container image needs to be built and pushed to Gitea registry first

Delegating to devops agent now.

## Manager Triage — 2026-03-20 **Assignment**: DevOps agent **Priority**: P2 **Complexity**: Medium ### Task Summary Deploy SPARC (Semiconductor Patent & Analytics Report Core) to the Talos Kubernetes cluster. ### Requirements 1. Create Kubernetes manifests for SPARC in `testing1/first-cluster/apps/sparc/` 2. Components: PostgreSQL database, FastAPI backend (port 8000), React frontend (port 80) 3. Configure Traefik IngressRoute for domain `sparc.testing.leeworks.dev` 4. Ensure Traefik is deployed (manifests exist in `cluster/traefik/` but Helm source may need adding) 5. Set up secrets for API keys (SerpAPI, OpenRouter, JWT) 6. Use NFS storage for PostgreSQL persistence ### Notes - Traefik HelmRelease exists at `cluster/traefik/` with LoadBalancer IP `10.0.1.15` - SPARC has a Dockerfile and docker-compose.yml for reference - The app needs env vars: API_KEY, OPENROUTER_API_KEY, DATABASE_URL, JWT_SECRET - Container image needs to be built and pushed to Gitea registry first Delegating to devops agent now.
Owner

Management Cycle Update — 2026-03-20

Actions Taken

  1. Synced fork with upstream — already up to date
  2. Triaged this issue — assigned to devops agent (P2, medium complexity)
  3. DevOps agent completed work:
    • Fixed path-based Traefik IngressRoute for sparc.testing.leeworks.dev
    • Added StripPrefix middleware for /api → backend routing
    • Fixed frontend API_URL to use public domain instead of internal IP
    • Added ROOT_PATH=/api for correct FastAPI path handling
  4. PR created: leeworks-agents/Talos#1
  5. Architect review requested

Next Steps

  • Architect reviews and approves the fork PR
  • Merge into fork main
  • Create upstream PR to 0xWheatyz/Talos:main for human review
  • Human merges → FluxCD deploys to cluster

Pending

  • Container images (sparc:latest, sparc-dashboard:latest) need to be built and pushed to Gitea registry at 10.0.1.10
  • Secret values (API_KEY, OPENROUTER_API_KEY, JWT_SECRET) need real values configured
## Management Cycle Update — 2026-03-20 ### Actions Taken 1. **Synced fork** with upstream — already up to date 2. **Triaged this issue** — assigned to devops agent (P2, medium complexity) 3. **DevOps agent completed work**: - Fixed path-based Traefik IngressRoute for `sparc.testing.leeworks.dev` - Added StripPrefix middleware for `/api` → backend routing - Fixed frontend API_URL to use public domain instead of internal IP - Added ROOT_PATH=/api for correct FastAPI path handling 4. **PR created**: [leeworks-agents/Talos#1](https://gitea.leeworks.dev/leeworks-agents/Talos/pulls/1) 5. **Architect review requested** ### Next Steps - Architect reviews and approves the fork PR - Merge into fork main - Create upstream PR to `0xWheatyz/Talos:main` for human review - Human merges → FluxCD deploys to cluster ### Pending - Container images (`sparc:latest`, `sparc-dashboard:latest`) need to be built and pushed to Gitea registry at `10.0.1.10` - Secret values (API_KEY, OPENROUTER_API_KEY, JWT_SECRET) need real values configured
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1