From adf3379fcbf8c9b82482ede4d72cf86b786a4d85 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Thu, 29 Feb 2024 11:34:53 -0600 Subject: [PATCH] Update to schedule only on control planes. The bare metal nodes. --- .../observability/smartctl-exporter/app/helmrelease.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/kubernetes/apps/observability/smartctl-exporter/app/helmrelease.yaml b/kubernetes/apps/observability/smartctl-exporter/app/helmrelease.yaml index 87554212..59fbdf5a 100644 --- a/kubernetes/apps/observability/smartctl-exporter/app/helmrelease.yaml +++ b/kubernetes/apps/observability/smartctl-exporter/app/helmrelease.yaml @@ -34,4 +34,11 @@ spec: serviceMonitor: enabled: true prometheusRules: - enabled: false \ No newline at end of file + enabled: false + tolerations: + - effect: NoSchedule + operator: Exists + nodeSelector: { + # only control plane nodes + kubernetes.io/role: control-plane + } \ No newline at end of file