File tree Expand file tree Collapse file tree 4 files changed +4
-7
lines changed
Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,6 @@ kubelet_make_iptables_util_chains: true
100100kubelet_feature_gates : ["RotateKubeletServerCertificate=true"]
101101kubelet_seccomp_default : true
102102kubelet_systemd_hardening : true
103- # To disable kubelet's staticPodPath (for nodes that don't use static pods like worker nodes)
104- kubelet_static_pod_path : " "
105103# In case you have multiple interfaces in your
106104# control plane nodes and you want to specify the right
107105# IP addresses, kubelet_secure_addresses allows you
Original file line number Diff line number Diff line change @@ -180,9 +180,6 @@ kube_proxy_ipvs_modules:
180180 - ip_vs_wlc
181181 - ip_vs_lc
182182
183- # Set this option to "" (empty) to disable staticPodPath (See docs/operations/hardening.md)
184- kubelet_static_pod_path : " {{ kube_manifest_dir }}"
185-
186183# # Enable distributed tracing for kubelet
187184kubelet_tracing : false
188185kubelet_tracing_endpoint : " [::]:4317"
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ enforceNodeAllocatable:
2222- {{ item }}
2323{% endfor %}
2424{% endif %}
25- staticPodPath: " {{ kubelet_static_pod_path }}"
25+ staticPodPath: {{ kube_manifest_dir }}
2626cgroupDriver: {{ kubelet_cgroup_driver | default('systemd') }}
2727containerLogMaxFiles: {{ kubelet_logfiles_max_nr }}
2828containerLogMaxSize: {{ kubelet_logfiles_max_size }}
Original file line number Diff line number Diff line change 88# should be in roles/kubernetes/preinstall/tasks/0040-verify-settings.yml
99- name : Fail if removed variables are used
1010 vars :
11- removed_vars : []
11+ # Always remove items from this list after the release in comments
12+ removed_vars :
13+ - kubelet_static_pod_path # 2.31.0
1214 removed_vars_found : " {{ query('varnames', '^' + (removed_vars | join('|')) + '$') }}"
1315 assert :
1416 that : removed_vars_found | length == 0
You can’t perform that action at this time.
0 commit comments