From 6f2943822213bc3e510804adc75bcdd470ee5c23 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Sun, 27 Oct 2024 23:18:03 -0500 Subject: [PATCH] all but vms --- .../smartctl-exporter/app/helmrelease.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/kubernetes/apps/observability/smartctl-exporter/app/helmrelease.yaml b/kubernetes/apps/observability/smartctl-exporter/app/helmrelease.yaml index a0d9edfe..0a55e98f 100644 --- a/kubernetes/apps/observability/smartctl-exporter/app/helmrelease.yaml +++ b/kubernetes/apps/observability/smartctl-exporter/app/helmrelease.yaml @@ -18,6 +18,17 @@ spec: controllers: smartctl-exporter: type: daemonset + pod: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: kubernetes.io/hostname + operator: NotIn + values: + - gandalf-01 + - shadowfax-01 containers: app: image: @@ -28,7 +39,6 @@ spec: - --smartctl.interval=120s - --web.listen-address=0.0.0.0:9633 - --web.telemetry-path=/metrics - - --smartctl.device-exclude=".*incus_root.*" securityContext: privileged: true runAsUser: 0