KubeZero/charts/kubezero-lib/templates/_commons.tpl

11 lines
243 B
Smarty
Raw Normal View History

2024-12-15 15:56:15 +00:00
{{- /*
maps pods to the kube control-plane
*/ -}}
{{- define "kubezero-lib.control-plane" -}}
nodeSelector:
node-role.kubernetes.io/control-plane: ""
tolerations:
- key: node-role.kubernetes.io/control-plane
effect: NoSchedule
{{- end -}}