Skip to content

Commit 78f154f

Browse files
hcc429JStickler
andauthored
feat(helm): Added trafficDistribution for service-distributor (#17742)
Signed-off-by: hcc429 <[email protected]> Signed-off-by: chun <[email protected]> Co-authored-by: J Stickler <[email protected]>
1 parent d6c2a8e commit 78f154f

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

docs/sources/setup/install/helm/reference.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2727,7 +2727,8 @@ null
27272727
"serviceLabels": {},
27282728
"terminationGracePeriodSeconds": 30,
27292729
"tolerations": [],
2730-
"topologySpreadConstraints": []
2730+
"topologySpreadConstraints": [],
2731+
"trafficDistribution": ""
27312732
}
27322733
</pre>
27332734
</td>
@@ -3056,6 +3057,15 @@ null
30563057
<td><pre lang="json">
30573058
[]
30583059
</pre>
3060+
</td>
3061+
</tr>
3062+
<tr>
3063+
<td>distributor.trafficDistribution</td>
3064+
<td>string</td>
3065+
<td>trafficDistribution for distributor service</td>
3066+
<td><pre lang="json">
3067+
""
3068+
</pre>
30593069
</td>
30603070
</tr>
30613071
<tr>

production/helm/loki/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Entries should include a reference to the pull request that introduced the chang
1616
- [FEATURE] Added readiness probe for memcached [#15609](https://github.com/grafana/loki/pull/15609)
1717
- [FEATURE] Added pdb for pattern ingester [#17058](https://github.com/grafana/loki/pull/17058)
1818
- [BUGFIX] Ensure ui.enabled=true is set in loki ConfigMap when loki.ui.enabled=true is set in values.yaml to actually enable the UI [#17562](https://github.com/grafana/loki/pull/17562)
19+
- [FEATURE] Added trafficDistribution to service-distributor for multi-az purpose
1920

2021
## 6.30.1
2122

production/helm/loki/templates/distributor/service-distributor.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,7 @@ spec:
3333
{{- end }}
3434
selector:
3535
{{- include "loki.distributorSelectorLabels" . | nindent 4 }}
36+
{{- if .Values.distributor.trafficDistribution }}
37+
trafficDistribution: {{ .Values.distributor.trafficDistribution }}
38+
{{- end }}
3639
{{- end -}}

production/helm/loki/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2108,6 +2108,8 @@ distributor:
21082108
appProtocol:
21092109
# -- Set the optional grpc service protocol. Ex: "grpc", "http2" or "https"
21102110
grpc: ""
2111+
# -- trafficDistribution for distributor service
2112+
trafficDistribution: ""
21112113
# -- Configuration for the querier
21122114
querier:
21132115
# -- Number of replicas for the querier

0 commit comments

Comments
 (0)