Master taints #548
Answered
by
rholmboe
joaopedrocg27
asked this question in
Questions
Master taints
#548
-
this will set NoSchedule right? Could we make it configurable to change to PreferNoSchedule ? |
Beta Was this translation helpful? Give feedback.
Answered by
rholmboe
Aug 5, 2024
Replies: 1 comment
-
Variable extra_server_args: >-
{{ extra_args }}
{{ '--node-taint node-role.kubernetes.io/master=true:NoSchedule' if k3s_master_taint else '' }}
{% if calico_iface is defined or cilium_iface is defined %}
--flannel-backend=none
--disable-network-policy
--cluster-cidr={{ cluster_cidr | default('10.52.0.0/16') }}
{% endif %}
--tls-san {{ apiserver_endpoint }}
--disable servicelb
--disable traefik You can change |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
timothystewart6
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Variable
k3s_master_taint
will be used here (link) in all.ymlYou can change
extra_server_args
variable having{{ '--node-taint node-role.kubernetes.io/master=true:PreferNoSchedule' if k3s_master_taint else '' }}
instead.