mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-02-16 10:58:32 -05:00
Remove affinity and just have toleration
This commit is contained in:
@@ -40,14 +40,6 @@ spec:
|
|||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
terminationGracePeriodSeconds: 30
|
terminationGracePeriodSeconds: 30
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
affinity:
|
|
||||||
nodeAffinity:
|
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
nodeSelectorTerms:
|
|
||||||
- matchExpressions:
|
|
||||||
- key: weather
|
|
||||||
operator: In
|
|
||||||
values: ["true"]
|
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: weather
|
- key: weather
|
||||||
operator: Equal
|
operator: Equal
|
||||||
@@ -122,16 +114,8 @@ spec:
|
|||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
terminationGracePeriodSeconds: 30
|
terminationGracePeriodSeconds: 30
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
affinity:
|
|
||||||
nodeAffinity:
|
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
nodeSelectorTerms:
|
|
||||||
- matchExpressions:
|
|
||||||
- key: weather
|
|
||||||
operator: In
|
|
||||||
values: ["true"]
|
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: weather
|
- key: "weather"
|
||||||
operator: Equal
|
operator: Equal
|
||||||
value: "true"
|
value: "true"
|
||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
Reference in New Issue
Block a user