Skip to content

Commit

Permalink
testing with node affinity instead
Browse files Browse the repository at this point in the history
  • Loading branch information
EliseCastle23 committed Aug 28, 2023
1 parent cd4eb14 commit d348fc8
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions kube/services/monitoring/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1540,11 +1540,20 @@ prometheus-node-exporter:
- --collector.filesystem.fs-types-exclude=^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$
service:
portName: http-metrics
tolerations:
- key: eks.amazonaws.com/compute-type
operator: Equal
value: fargate
effect: NoSchedule
# tolerations:
# - key: eks.amazonaws.com/compute-type
# operator: Equal
# value: fargate
# effect: NoSchedule
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "eks.amazonaws.com/compute-type"
operator: NotIn
values:
- fargate
prometheus:
monitor:
enabled: true
Expand Down

0 comments on commit d348fc8

Please sign in to comment.