From 911e7fbdb99c3b6c7921b001ca57fb001f049520 Mon Sep 17 00:00:00 2001 From: Chris Kaczor Date: Mon, 22 Jan 2024 17:44:51 -0500 Subject: [PATCH] Remove affinity and just have toleration --- Weather/SerialReader/deploy/manifest.yaml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/Weather/SerialReader/deploy/manifest.yaml b/Weather/SerialReader/deploy/manifest.yaml index de0cc52..934b58b 100644 --- a/Weather/SerialReader/deploy/manifest.yaml +++ b/Weather/SerialReader/deploy/manifest.yaml @@ -40,14 +40,6 @@ spec: restartPolicy: Always terminationGracePeriodSeconds: 30 dnsPolicy: ClusterFirst - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: weather - operator: In - values: ["true"] tolerations: - key: weather operator: Equal @@ -122,16 +114,8 @@ spec: restartPolicy: Always terminationGracePeriodSeconds: 30 dnsPolicy: ClusterFirst - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: weather - operator: In - values: ["true"] tolerations: - - key: weather + - key: "weather" operator: Equal value: "true" effect: NoSchedule \ No newline at end of file