Update kubelet.j2

Updated with closing endif.
pull/1408/head
Amit Kumar Jaiswal 2017-07-03 16:23:35 +05:30 committed by GitHub
parent 3d2680a102
commit 319a0d65af
1 changed files with 3 additions and 1 deletions

View File

@ -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 #}