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
This commit is contained in:
@@ -40,13 +40,13 @@ spec:
|
||||
value: default
|
||||
# Remote clickhouse (dev-cluster-1) - for reading vehicle data
|
||||
- name: REMOTE_CLICKHOUSE_HOST
|
||||
value: "" # TODO: Set dev-cluster clickhouse endpoint
|
||||
value: "10.31.0.10"
|
||||
- name: REMOTE_CLICKHOUSE_PORT
|
||||
value: "9000"
|
||||
- name: REMOTE_CLICKHOUSE_USER
|
||||
value: ""
|
||||
value: "admin"
|
||||
- name: REMOTE_CLICKHOUSE_PASS
|
||||
value: ""
|
||||
value: "VYPSCX41Jt"
|
||||
- name: REMOTE_CLICKHOUSE_DB
|
||||
value: default
|
||||
# Collector settings
|
||||
|
||||
@@ -8,7 +8,7 @@ metadata:
|
||||
annotations:
|
||||
reloader.stakater.com/auto: "true"
|
||||
spec:
|
||||
replicas: 1
|
||||
replicas: 0
|
||||
selector:
|
||||
matchLabels:
|
||||
app: jetfire
|
||||
|
||||
Reference in New Issue
Block a user