Skip to content

Commit 2f71073

Browse files
authored
Set up Redis, V3, Spanner Graph, plus mirroring for all standalone mixer envs (#1605)
1 parent 4c3180f commit 2f71073

File tree

5 files changed

+27
-1
lines changed

5 files changed

+27
-1
lines changed

deploy/helm_charts/envs/mixer_autopush.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ mixer:
1313
host: "10.244.163.180"
1414
port: "6379"
1515
enableOtlp: true
16+
v3MirrorFraction: 0.5
1617

1718
ingress:
1819
enabled: true

deploy/helm_charts/envs/mixer_dev.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
mixer:
33
hostProject: datcom-mixer-dev-316822
44
serviceName: dev.api.datacommons.org
5-
enableOtlp: true
65
useSpannerGraph: true
76
enableV3: true
87
redis:
@@ -12,6 +11,8 @@ mixer:
1211
- region: "us-central1"
1312
host: "10.152.182.67"
1413
port: "6379"
14+
enableOtlp: true
15+
v3MirrorFraction: 0.5
1516

1617
ingress:
1718
enabled: true

deploy/helm_charts/envs/mixer_prod.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
mixer:
33
hostProject: datcom-mixer
44
serviceName: api.datacommons.org
5+
useSpannerGraph: true
6+
enableV3: true
7+
redis:
8+
enabled: true
9+
configFile: |
10+
instances:
11+
- region: "us-central1"
12+
host: "10.139.83.75"
13+
port: "6379"
14+
enableOtlp: true
15+
v3MirrorFraction: 0.001
516

617
ingress:
718
enabled: true

deploy/helm_charts/envs/mixer_staging.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,17 @@
22
mixer:
33
hostProject: datcom-mixer-staging
44
serviceName: staging.api.datacommons.org
5+
useSpannerGraph: true
6+
enableV3: true
7+
redis:
8+
enabled: true
9+
configFile: |
10+
instances:
11+
- region: "us-central1"
12+
host: "10.55.198.51"
13+
port: "6379"
514
enableOtlp: true
15+
v3MirrorFraction: 0.01
616

717
ingress:
818
enabled: true

deploy/helm_charts/mixer/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ spec:
109109
{{- if eq $.Values.mixer.enableOtlp true}}
110110
- --metrics_exporter=otlp
111111
{{- end }}
112+
{{- if $.Values.mixer.v3MirrorFraction }}
113+
- --v3_mirror_fraction={{ $.Values.mixer.v3MirrorFraction }}
114+
{{- end }}
112115
volumeMounts:
113116
- name: schema-mapping
114117
mountPath: /datacommons/mapping

0 commit comments

Comments
 (0)