Skip to content

Commit

Permalink
Enable pod disruption budget by default
Browse files Browse the repository at this point in the history
  • Loading branch information
OlamideOl1 committed Oct 24, 2024
1 parent 6b750a5 commit 677c4b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions platform/modules/prometheus-instance/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ prometheus:
version: v2.26.0

## Pod anti-affinity can prevent the scheduler from placing Prometheus replicas on the same node.
## The default value "soft" means that the scheduler should *prefer* to not schedule two replica pods onto the same node but no guarantee is provided.
## The value "hard" means that the scheduler is *required* to not schedule two replica pods onto the same node.
## The value "soft" means that the scheduler should *prefer* to not schedule two replica pods onto the same node but no guarantee is provided.
## The default value "hard" means that the scheduler is *required* to not schedule two replica pods onto the same node.
## The value "" will disable pod anti-affinity so that no anti-affinity rules will be configured.
podAntiAffinity: "hard"

Expand All @@ -58,7 +58,7 @@ prometheus:
## https://github.com/kubernetes/kubernetes/issues/45398
##
podDisruptionBudget:
enabled: false
enabled: true
minAvailable: 1
maxUnavailable: ""

Expand Down

0 comments on commit 677c4b7

Please sign in to comment.