Skip to content

Commit 6e0fb6f

Browse files
bhprattyansun1996
authored andcommitted
feat: switch nodeaffinity from required to prefer for OLM
1 parent 5d85726 commit 6e0fb6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bundle/manifests/amd-gpu-operator.clusterserviceversion.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ spec:
10281028
spec:
10291029
affinity:
10301030
nodeAffinity:
1031-
requiredDuringSchedulingIgnoredDuringExecution:
1031+
preferredDuringSchedulingIgnoredDuringExecution:
10321032
nodeSelectorTerms:
10331033
- matchExpressions:
10341034
- key: node-role.kubernetes.io/control-plane

config/manager-base/manager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spec:
2828
spec:
2929
affinity:
3030
nodeAffinity:
31-
requiredDuringSchedulingIgnoredDuringExecution:
31+
preferredDuringSchedulingIgnoredDuringExecution:
3232
nodeSelectorTerms:
3333
- matchExpressions:
3434
- key: node-role.kubernetes.io/control-plane

0 commit comments

Comments
 (0)