Skip to content

Commit d0c45cf

Browse files
rohitkbcajaysundarkPriyankasaggu11929
authored
Update manager.yaml to modify nodeSelector and tolerations (#129)
Co-authored-by: ajaysundar.k <ajaysundar.k@gmail.com> Co-authored-by: Priyanka Saggu <priyankasaggu11929@gmail.com>
1 parent 7811961 commit d0c45cf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

config/manager/manager.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,13 @@ spec:
5656
# values:
5757
# - platform # Modify this value based on your platform node labels.
5858
priorityClassName: system-cluster-critical
59-
nodeSelector:
60-
"node-role.kubernetes.io/control-plane": ""
59+
# TODO: In the future, this could be replaced with tolerate only readiness.k8s.io/* taints specifically, when wildcard support is available in K8s.
60+
# (ref: https://github.com/kubernetes/enhancements/issues/5500)
6161
tolerations:
62-
- key: "node-role.kubernetes.io/control-plane"
63-
operator: "Exists"
62+
- operator: Exists
63+
effect: NoSchedule
64+
- operator: Exists
65+
effect: NoExecute
6466
securityContext:
6567
# Projects are configured by default to adhere to the "restricted" Pod Security Standards.
6668
# This ensures that deployments meet the highest security requirements for Kubernetes.

0 commit comments

Comments
 (0)