Unbreak 1.5 deployment with kubelet

1.5 kubelet fails to start when using unknown params
pull/1210/head
Matthew Mosesohn 2017-04-06 21:07:48 +03:00
parent 75ea001bfe
commit b521255ec9
1 changed files with 2 additions and 1 deletions

View File

@ -13,8 +13,9 @@ KUBELET_HOSTNAME="--hostname-override={{ ansible_hostname }}"
--pod-infra-container-image={{ pod_infra_image_repo }}:{{ pod_infra_image_tag }} \
--kube-reserved cpu={{ kubelet_cpu_limit }},memory={{ kubelet_memory_limit|regex_replace('Mi', 'M') }} \
--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 }}'{% endset %}
--enforce-node-allocatable='{{ kubelet_enforce_node_allocatable }}' {% etndif %}{% endset %}
{# DNS settings for kubelet #}
{% if dns_mode == 'kubedns' %}