@@ -9,8 +9,8 @@ metadata:
9
9
labels :
10
10
{{- include "loki.ingesterLabels" . | nindent 4 }}
11
11
app.kubernetes.io/part-of : memberlist
12
- rollout-group : ingester
13
- name : ingester-zone-a
12
+ name : {{ include "loki.prefixIngesterName" . }} ingester-zone-a
13
+ rollout-group : {{ include "loki.prefixRolloutGroup" . }} ingester
14
14
annotations :
15
15
rollout-max-unavailable : " {{ include " loki.ingester.maxUnavailable" (dict "ctx" . "replicas" $replicas)}}"
16
16
{{- with .Values.loki.annotations }}
38
38
selector :
39
39
matchLabels :
40
40
{{- include "loki.ingesterSelectorLabels" . | nindent 6 }}
41
- name : ingester-zone-a
42
- rollout-group : ingester
41
+ name : {{ include "loki.prefixIngesterName" . }} ingester-zone-a
42
+ rollout-group : {{ include "loki.prefixRolloutGroup" . }} ingester
43
43
{{- with .Values.ingester.updateStrategy }}
44
44
updateStrategy :
45
45
{{- tpl (. | toYaml) $ | nindent 4 }}
60
60
labels :
61
61
{{- include "loki.ingesterSelectorLabels" . | nindent 8 }}
62
62
app.kubernetes.io/part-of : memberlist
63
- name : ingester-zone-a
64
- rollout-group : ingester
63
+ name : {{ include "loki.prefixIngesterName" . }} ingester-zone-a
64
+ rollout-group : {{ include "loki.prefixRolloutGroup" . }} ingester
65
65
{{- with .Values.loki.podLabels }}
66
66
{{- toYaml . | nindent 8 }}
67
67
{{- end }}
@@ -164,11 +164,11 @@ spec:
164
164
- key : rollout-group
165
165
operator : In
166
166
values :
167
- - ingester
167
+ - {{ include "loki.prefixRolloutGroup" . }} ingester
168
168
- key : name
169
169
operator : NotIn
170
170
values :
171
- - ingester-zone-a
171
+ - {{ include "loki.prefixIngesterName" . }} ingester-zone-a
172
172
topologyKey : kubernetes.io/hostname
173
173
{{- with .Values.ingester.zoneAwareReplication.zoneA.extraAffinity }}
174
174
{{- toYaml . | nindent 8 }}
0 commit comments