Skip to content

Commit

Permalink
apps: cluster1: workstation: Replace nodeSelector with affinity.
Browse files Browse the repository at this point in the history
  • Loading branch information
wigust committed Dec 20, 2024
1 parent 152326e commit 991bb2e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions apps/cluster1/workstation/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,15 @@ metadata:
spec:
template:
spec:
nodeSelector:
kubernetes.io/hostname: kube3
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: workstation.cluster.local/schedulable
operator: In
values:
- "true"
tolerations:
- key: workstation.cluster.local
operator: Equal
Expand Down

0 comments on commit 991bb2e

Please sign in to comment.