File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed
docs/sources/setup/install/helm Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,8 @@ This is the generated reference for the Loki Helm Chart values.
8282 "type": "RollingUpdate"
8383 },
8484 "terminationGracePeriodSeconds": 60,
85- "tolerations": [ ]
85+ "tolerations": [ ] ,
86+ "topologySpreadConstraints": [ ]
8687}
8788</pre >
8889</td >
@@ -280,6 +281,15 @@ This is the generated reference for the Loki Helm Chart values.
280281 <td><pre lang="json">
281282[ ]
282283</pre >
284+ </td >
285+ </tr>
286+ <tr>
287+ <td>adminApi.topologySpreadConstraints</td>
288+ <td>list</td>
289+ <td>Topology Spread Constraints for admin-api pods</td>
290+ <td><pre lang="json">
291+ [ ]
292+ </pre >
283293</td >
284294 </tr>
285295 <tr>
Original file line number Diff line number Diff line change 3838 {{- toYaml . | nindent 8 }}
3939 {{- end }}
4040 spec :
41+ {{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.Version }}
42+ {{- with .Values.adminApi.topologySpreadConstraints }}
43+ topologySpreadConstraints :
44+ {{- toYaml . | nindent 8 }}
45+ {{- end }}
46+ {{- end }}
4147 serviceAccountName : {{ template "loki.serviceAccountName" . }}
4248 {{- if .Values.adminApi.priorityClassName }}
4349 priorityClassName : {{ .Values.adminApi.priorityClassName }}
@@ -167,4 +173,4 @@ spec:
167173 path : CAs/public.crt
168174 {{- end }}
169175 {{- end }}
170- {{- end }}
176+ {{- end }}
Original file line number Diff line number Diff line change @@ -876,6 +876,8 @@ adminApi:
876876 affinity : {}
877877 # -- Node selector for admin-api Pods
878878 nodeSelector : {}
879+ # -- Topology Spread Constraints for admin-api pods
880+ topologySpreadConstraints : []
879881 # -- Tolerations for admin-api Pods
880882 tolerations : []
881883 # -- Grace period to allow the admin-api to shutdown before it is killed
You can’t perform that action at this time.
0 commit comments