Chris Rai
27fe5af164
cost service: update estimates from migration plan v1.1
...
- Platform base: 80 cores / 544GB RAM (from migration plan)
- Cloud rates: $0.35/core-hr, $0.10/GB-hr, $17/15min managed services
- On-prem rates: $0.015/core-hr, $0.004/GB-hr, $1.50/15min
- Based on ~$1M/year Azure spend, ~92% savings with on-prem
- Updated README with migration plan references
2026-02-05 10:30:09 -05:00
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
80c7b7caf3
feedback time
2026-02-02 21:38:02 -05:00
Chris Rai
2bf8d3f64e
testing vin
2026-02-02 21:32:48 -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
8651ef0aa6
disabling for mem
2026-02-02 21:21:18 -05:00
Chris Rai
08bcd35267
disabling for mem
2026-02-02 21:20:49 -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
877b8a93f1
Disable depot/attendant to free memory for keycloak
2026-01-31 21:48:12 -05:00
Chris Rai
87c89949cc
no cost on mini for nown
2026-01-31 21:38:47 -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
8b3ab0af6c
Fix CLICKHOUSE_PASS env var name
2026-01-31 17:50:50 -05:00
Chris Rai
fa6865a6c0
Add clickhouse credentials for jetfire and optimus
2026-01-31 17:45:12 -05:00
Chris Rai
89a6db01dd
Fix clickhouse host to chi-cloud-dev-cloud-dev-0-0
2026-01-31 17:31:45 -05:00
Chris Rai
70b652b992
Fix clickhouse service name
2026-01-31 17:29:21 -05:00
Chris Rai
6f0b4a17aa
Fix mongo password
2026-01-31 17:28:26 -05:00
Chris Rai
aea6d840af
Add MONGO_CONN_STR to config
2026-01-31 17:25:46 -05:00
Chris Rai
5a5acdd717
Add kustomize config for configmap name reference
2026-01-31 17:23:30 -05:00
Chris Rai
06994ae278
Lower resource requests for dev cluster
2026-01-31 15:49:06 -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
5e2c13c57e
fix: handle nil DocsHandler and add DOCS env var
2026-01-31 01:51:04 -05:00
Chris Rai
a03319f090
fix: use standard Ingress with cert-manager for gateway TLS
2026-01-31 01:39:30 -05:00
Chris Rai
5227583fa8
fix: add reloader annotation, reduce ExternalSecret refresh to 10m
2026-01-31 01:11:23 -05:00
Chris Rai
ba426ece8e
fix: remove duplicate secret, use ExternalSecret for db credentials
2026-01-31 01:05:40 -05:00
Chris Rai
d2cfa49d71
refactor: use configMapGenerator for auto-rolling updates
2026-01-31 01:01:37 -05:00
Chris Rai
833766ba6a
fix: remove REDIS_PASSWORD to use default (no auth)
2026-01-31 00:56:01 -05:00
Chris Rai
4e164e97b5
fix: change imagePullPolicy to IfNotPresent for local images
2026-01-31 00:48:44 -05:00
Chris Rai
f4219e95e9
feat: add reloader annotation to gateway deployment
2026-01-31 00:27:58 -05:00
Chris Rai
d59eeeaacb
feat: add external-secret for cloud-db-credentials
2026-01-31 00:18:35 -05:00
Chris Rai
7784b81c05
Add gateway ingress, namespace in kustomization
2026-01-31 00:09:01 -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