Skip to content

Commit

Permalink
fix(prometheus): remove node affinity (#439) (#440)
Browse files Browse the repository at this point in the history
Handle Alertmanager installation using `nodeSelector`
  • Loading branch information
pratik705 authored Sep 16, 2024
1 parent 5b468d5 commit c0e2652
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions base-kustomize/prometheus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -799,15 +799,15 @@ alertmanager:
## Assign custom affinity rules to the alertmanager instance
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
##
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/worker
operator: In
values:
- worker
# affinity:
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: node-role.kubernetes.io/worker
# operator: In
# values:
# - worker
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
Expand Down

0 comments on commit c0e2652

Please sign in to comment.