Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Master taints #548

Discussion options

You must be logged in to vote

Variable k3s_master_taint will be used here (link) in all.yml

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 extra_server_args variable having {{ '--node-taint node-role.kubernetes.io/master=true:PreferNoSchedule' if k3s_master_taint else '' }} instead.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by timothystewart6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants