Commit graph

7 commits

Author SHA1 Message Date
9ca32408b1 Fix: readiness probe for execute-service uses /health/ready
Change readiness probe from /health (always ok) to /health/ready
(checks executor initialization state). Applied to both:
- apps/base K8s deployment
- Helm chart template

Pairs with app fix making executor init non-blocking.
2026-05-25 05:39:24 +00:00
c9e5e5b651 fix(trading-platform): add startupProbe to data-service, execute-service, and dashboard in customer1
- Grace period (failureThreshold: 30) for init (model load, DB, Redis).
- Resolves 0/1 Ready pods after rollout.
- Matches hermes-projects updates.
- Related to Kanban t_b6693eac
2026-05-25 04:57:59 +00:00
984a5541af fix(execute-service): use new image with DB env mapping fix
- Points to ghcr.io/sirius0xdev/trading-execute-service:7b77854 (includes model_validator for POSTGRES_PASSWORD etc.)
- Sets pullPolicy: Always to ensure fresh image on rollout.
- This resolves the persistent SQLite OperationalError on startup.

See hermes-projects commit 7b77854 for the code change + RUNBOOK.md.

After merge, run helm upgrade or kubectl rollout restart.
2026-05-25 02:24:42 +00:00
Hermes Agent
cbb0a20280 fix: add JWT_SECRET_KEY to execute-service deployment via SOPS-encrypted secret
- Create execute-service-secret (SOPS encrypted) with JWT_SECRET_KEY
- Wire JWT_SECRET_KEY env var in execute-service deployment
- Fixes CrashLoopBack caused by missing JWT_SECRET_KEY validation error
2026-05-25 01:24:17 +00:00
Hermes Agent
a2644b39c7 fix: rename K8s env vars to EXECUTE_ prefix for execute-service
- ConfigMap keys: DB_HOST -> EXECUTE_DB_HOST, DB_PORT -> EXECUTE_DB_PORT, etc.
- Deployment secrets: DB_USER -> EXECUTE_DB_USER, DB_PASSWORD -> EXECUTE_DB_PASSWORD
- Helm configmap: add EXECUTE_DB_* keys alongside legacy POSTGRES_* keys
- Base deployment: add EXECUTE_DB_USER/PASSWORD from secrets
2026-05-24 23:57:04 +00:00
Hermes Agent
da8fe22f6e feat(devops): add Solana quant bot K8s/Helm, CI/CD, observability, and funding
- Add solana-quant-bot deployment + ClusterIP service templates
- Add solana-rpc ExternalName service for Helius/QuickNode
- Add Alembic migration init job template
- Update values.yaml: solana-rpc, bot config, new Kafka topics, observability
- Update configmap with Solana RPC endpoint via internal DNS
- Update network policies: bot ingress/egress, postgres/redis/kafka access
- Update CI/CD workflow: build/push/deploy solana-quant-bot service
- Add Prometheus ServiceMonitor, PrometheusRules (alerts)
- Add Grafana dashboard ConfigMap (trades, latency, balance, P&L)
- Add initial funding script with dry-run and verification modes
2026-05-24 04:46:58 +00:00
d079d1239f feat: add trading platform K8s deployment infrastructure
- Add Helm chart with 19 templates (Deployments, Services, Ingress,
  ConfigMaps, Secrets, NetworkPolicy, cert-manager)
- Add Dockerfiles for 4 microservices (dashboard, data-service,
  execute-service, news-service)
- Add CI/CD workflows (build-test, build-push, deploy)
- Add raw K8s manifests, per-service Helm charts, and deploy scripts
- Add SOPS-encrypted secrets template and config
- Configure deployment to customer1 namespace
- Include infrastructure components: PostgreSQL, Redis, Kafka
2026-05-17 22:15:00 +00:00