From d348fc87529aac6de1001a965ff374293e860d8d Mon Sep 17 00:00:00 2001 From: EliseCastle23 Date: Mon, 28 Aug 2023 11:19:54 -0600 Subject: [PATCH] testing with node affinity instead --- kube/services/monitoring/values.yaml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/kube/services/monitoring/values.yaml b/kube/services/monitoring/values.yaml index d9f5bd72a..27cf255fa 100644 --- a/kube/services/monitoring/values.yaml +++ b/kube/services/monitoring/values.yaml @@ -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