Support dynamic kubelet config

https://kubernetes.io/blog/2018/07/11/dynamic-kubelet-configuration/
This commit is contained in:
rongzhang
2018-09-17 01:40:20 +08:00
parent 3cd38e0d4c
commit 77e08ba204
6 changed files with 31 additions and 0 deletions

View File

@@ -48,6 +48,9 @@ KUBELET_HOSTNAME="--hostname-override={{ kube_override_hostname }}"
{% else %}
--fail-swap-on={{ kubelet_fail_swap_on|default(true)}} \
{% endif %}
{% if dynamic_kubelet_configuration %}
--dynamic-config-dir={{ dynamic_kubelet_configuration_dir }} \
{% endif %}
--runtime-cgroups={{ kubelet_runtime_cgroups }} --kubelet-cgroups={{ kubelet_kubelet_cgroups }} \
{% endset %}