Commit Graph

16 Commits

Author SHA1 Message Date
Chris Rai
c48ae896a4 cost service: add platform base + per-VIN resource model with CPU/RAM display
- Updated cost model to show: (Platform Base) + (Per-VIN × VINs)
- Platform base: 176 cores / 896GB RAM (Kafka, ClickHouse, MongoDB, Redis, PostgreSQL, gateway, monitoring)
- Per-VIN marginal: 50mc / 82MB per vehicle
- Added RESOURCE USAGE MODEL and COST FORMULA sections to report
- Added CPU (mc) and RAM (MB) columns to TOP COST VEHICLES table
- Updated README with new report output
- virtual-vehicle: documented Vault cert TTL error troubleshooting
2026-02-04 21:18:24 -05:00
Chris Rai
54b17cf126 feedback time 2026-02-02 21:43:03 -05:00
Chris Rai
80c7b7caf3 feedback time 2026-02-02 21:38:02 -05:00
Chris Rai
d9f797b76a virtual-vehicle: add debug logging 2026-02-02 21:28:52 -05:00
Chris Rai
6d45dda007 virtual-vehicle: better logging for debugging 2026-02-02 21:26:06 -05:00
Chris Rai
454f313556 virtual-vehicle: add simulator for mini cluster
- Uses public dev manufacturer endpoint for cert registration
- Connects to local gateway via websocket
- Generates fake CAN frames and sends telemetry
- Image: localhost:32000/virtual-vehicle:latest
2026-02-02 20:55:45 -05:00
Chris Rai
b764df0e2b cost: bump to $100k/mo cloud estimate, update README with live output
- Cloud rates: CPU $0.30/core-hr, Memory $0.08/GB-hr
- Base infra: $10/15min cloud, $0.90/15min on-prem
- On-prem rates unchanged
- ~90% savings projection
- Image: fiskercloud.azurecr.io/cost:v7
2026-02-01 00:24:25 -05:00
Chris Rai
3f7f2d559f cost: bump rates to match actual Azure billing (~$65k/mo)
- Increased CPU/memory rates and per-VIN resource estimates
- Added base infrastructure cost distribution across active VINs
- Updated README with projected costs for 5000 vehicles
- Image: fiskercloud.azurecr.io/cost:v6
2026-02-01 00:19:29 -05:00
Chris Rai
3dccf80a72 Add cost service for per-VIN cost estimation
- Estimates cloud vs on-prem costs per active vehicle
- Queries feature_table_last_shard from ClickHouse (lightweight)
- 85% savings estimate with on-prem (hardware only)
- Deployed to cec-prd-cluster-1 (internal only)
- Text report endpoint at /cost/report
2026-01-31 21:29:59 -05:00
Chris Rai
1a890d8940 Add cost service for per-VIN cost estimation 2026-01-31 20:29:07 -05:00
Chris Rai
9a5cb2f547 Add depot, attendant, jetfire, optimus, ota services with kustomize overlays 2026-01-31 15:35:07 -05:00
Chris Rai
a0ec642ca1 fix: serve index.html for docs directory, update README with testing instructions 2026-01-31 14:34:45 -05:00
Chris Rai
5e2c13c57e fix: handle nil DocsHandler and add DOCS env var 2026-01-31 01:51:04 -05:00
Chris Rai
4e164e97b5 fix: change imagePullPolicy to IfNotPresent for local images 2026-01-31 00:48:44 -05:00
Chris Rai
b5bec57dfa Refactor kafka to pure Go (franz-go), fix DBC stubs, update Dockerfile 2026-01-31 00:05:47 -05:00
Chris Rai
fbb820d7b3 Initial cloud-services repo - gateway service + pkg modules 2026-01-30 23:14:52 -05:00