Skip to content

Commit 4ff6c42

Browse files
committed
Add node-role.kubernetes.io/control-plane to node selector terms
In the newer versions of k8s, 'master' node-role is replaced with 'control-plane'. To deploy ib-kubernetes, the latter should be added to node selector terms. For backward compatibility, 'master' is left there as well.
1 parent 011856b commit 4ff6c42

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

deployment/ib-kubernetes.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,15 @@ spec:
7373
operator: In
7474
values:
7575
- "linux"
76+
- matchExpressions:
77+
- key: node-role.kubernetes.io/control-plane
78+
operator: In
79+
values:
80+
- ""
81+
- key: kubernetes.io/os
82+
operator: In
83+
values:
84+
- "linux"
7685
podAntiAffinity:
7786
requiredDuringSchedulingIgnoredDuringExecution:
7887
- labelSelector:

0 commit comments

Comments
 (0)