File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 11apiVersion : v2
22name : prometheus
33appVersion : v2.55.1
4- version : 25.30.1
4+ version : 25.30.2
55kubeVersion : " >=1.19.0-0"
66description : Prometheus is a monitoring system and time series database.
77home : https://prometheus.io/
Original file line number Diff line number Diff line change 1111 selector :
1212 matchLabels :
1313 {{- include "prometheus.server.matchLabels" . | nindent 6 }}
14- {{- toYaml $pdbSpec | nindent 2 }}
14+ {{- if not (or (hasKey $pdbSpec "minAvailable") (hasKey $pdbSpec "maxUnavailable")) }}
15+ maxUnavailable : 1
16+ {{- end }}
17+ {{- if hasKey $pdbSpec "minAvailable" }}
18+ minAvailable : {{ $pdbSpec.minAvailable }}
19+ {{- end }}
20+ {{- if hasKey $pdbSpec "maxUnavailable" }}
21+ maxUnavailable : {{ $pdbSpec.maxUnavailable }}
22+ {{- end }}
23+ {{- if hasKey $pdbSpec "unhealthyPodEvictionPolicy" }}
24+ unhealthyPodEvictionPolicy : {{ $pdbSpec.unhealthyPodEvictionPolicy }}
25+ {{- end }}
1526{{- end }}
Original file line number Diff line number Diff line change @@ -453,7 +453,7 @@ server:
453453 # #
454454 podDisruptionBudget :
455455 enabled : false
456- maxUnavailable : 1
456+ # maxUnavailable: 1
457457 # minAvailable: 1
458458 # # unhealthyPodEvictionPolicy is available since 1.27.0 (beta)
459459 # # https://kubernetes.io/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy
You can’t perform that action at this time.
0 commit comments