File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed
docs/sources/setup/install/helm
templates/pattern-ingester Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -8186,6 +8186,7 @@ null
8186
8186
},
8187
8187
"initContainers": [ ] ,
8188
8188
"livenessProbe": {},
8189
+ "maxUnavailable": null,
8189
8190
"nodeSelector": {},
8190
8191
"persistence": {
8191
8192
"annotations": {},
@@ -8360,6 +8361,15 @@ null
8360
8361
<td><pre lang="json">
8361
8362
{}
8362
8363
</pre >
8364
+ </td >
8365
+ </tr>
8366
+ <tr>
8367
+ <td>patternIngester.maxUnavailable</td>
8368
+ <td>string</td>
8369
+ <td>Pod Disruption Budget maxUnavailable</td>
8370
+ <td><pre lang="json">
8371
+ null
8372
+ </pre >
8363
8373
</td >
8364
8374
</tr>
8365
8375
<tr>
Original file line number Diff line number Diff line change
1
+ {{- $isDistributed := eq (include "loki.deployment.isDistributed" .) "true" -}}
2
+ {{- if and $isDistributed (gt (int .Values.patternIngester.replicas) 1) }}
3
+ apiVersion : {{ include "loki.pdb.apiVersion" . }}
4
+ kind : PodDisruptionBudget
5
+ metadata :
6
+ name : {{ include "loki.patternIngesterFullname" . }}
7
+ namespace : {{ .Release.Namespace }}
8
+ labels :
9
+ {{- include "loki.patternIngesterLabels" . | nindent 4 }}
10
+ spec :
11
+ selector :
12
+ matchLabels :
13
+ {{- include "loki.patternIngesterSelectorLabels" . | nindent 6 }}
14
+ {{- with .Values.patternIngester.maxUnavailable }}
15
+ maxUnavailable : {{ . }}
16
+ {{- end }}
17
+ {{- end }}
Original file line number Diff line number Diff line change @@ -2890,6 +2890,8 @@ patternIngester:
2890
2890
matchLabels :
2891
2891
app.kubernetes.io/component : pattern-ingester
2892
2892
topologyKey : kubernetes.io/hostname
2893
+ # -- Pod Disruption Budget maxUnavailable
2894
+ maxUnavailable : null
2893
2895
# -- Labels for pattern ingester service
2894
2896
serviceLabels : {}
2895
2897
# -- Annotations for pattern ingester service
You can’t perform that action at this time.
0 commit comments