diff --git a/roles/kubernetes/node/templates/kubelet.j2 b/roles/kubernetes/node/templates/kubelet.j2 index 43d33f655..0d2c21b27 100644 --- a/roles/kubernetes/node/templates/kubelet.j2 +++ b/roles/kubernetes/node/templates/kubelet.j2 @@ -15,7 +15,7 @@ KUBELET_HOSTNAME="--hostname-override={{ ansible_hostname }}" --node-status-update-frequency={{ kubelet_status_update_frequency }} \ {% if kube_version | version_compare('v1.6', '>=') %} --enable-cri={{ kubelet_enable_cri }} --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 #} {% if dns_mode == 'kubedns' %}