Update kubelet.j2
Updated with closing endif.
This commit is contained in:
parent
3d2680a102
commit
319a0d65af
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@ KUBELET_HOSTNAME="--hostname-override={{ ansible_hostname }}"
|
||||||
{% if kube_version | version_compare('v1.6', '>=') %}
|
{% if kube_version | version_compare('v1.6', '>=') %}
|
||||||
{# flag got removed with 1.7.0 #}
|
{# flag got removed with 1.7.0 #}
|
||||||
{% if kube_version | version_compare('v1.7', '<') %}
|
{% if kube_version | version_compare('v1.7', '<') %}
|
||||||
--enable-cri={{ kubelet_enable_cri }} --cgroups-per-qos={{ kubelet_cgroups_per_qos }} \
|
--enable-cri={{ kubelet_enable_cri }} \
|
||||||
|
{% endif %}
|
||||||
|
--cgroups-per-qos={{ kubelet_cgroups_per_qos }} \
|
||||||
--enforce-node-allocatable='{{ kubelet_enforce_node_allocatable }}' {% endif %}{% endset %}
|
--enforce-node-allocatable='{{ kubelet_enforce_node_allocatable }}' {% endif %}{% endset %}
|
||||||
|
|
||||||
{# DNS settings for kubelet #}
|
{# DNS settings for kubelet #}
|
||||||
|
|
Loading…
Reference in a new issue