--- k3s_control_node: true k3s_server: #% if bootstrap_advanced_flags.dual_stack_ipv4_first|default(false) %# cluster-cidr: "#{ bootstrap_cluster_cidr.split(',')[0] }#,#{ bootstrap_cluster_cidr.split(',')[1] }#" service-cidr: "#{ bootstrap_service_cidr.split(',')[0] }#,#{ bootstrap_service_cidr.split(',')[1] }#" #% else %# cluster-cidr: "#{ bootstrap_cluster_cidr }#" service-cidr: "#{ bootstrap_service_cidr }#" #% endif %# disable: ["flannel", "local-storage", "metrics-server", "servicelb", "traefik"] disable-cloud-controller: true disable-kube-proxy: true disable-network-policy: true docker: false etcd-expose-metrics: true flannel-backend: "none" kube-apiserver-arg: - "anonymous-auth=true" kube-controller-manager-arg: - "bind-address=0.0.0.0" kube-scheduler-arg: - "bind-address=0.0.0.0" kubelet-arg: - "image-gc-high-threshold=55" - "image-gc-low-threshold=50" #% if bootstrap_advanced_flags.dual_stack_ipv4_first|default(false) %# node-ip: "{{ ansible_host }},{{ ansible_default_ipv6.address }}" #% else %# node-ip: "{{ ansible_host }}" #% endif %# pause-image: registry.k8s.io/pause:3.9 secrets-encryption: true tls-san: - "#{ bootstrap_kube_api_addr }#" #% for item in bootstrap_kube_additional_tls_sans %# - "{{ item }}" #% endfor %# write-kubeconfig-mode: "644"