diff --git a/roles/kubernetes/node/templates/kubelet-config.v1beta1.yaml.j2 b/roles/kubernetes/node/templates/kubelet-config.v1beta1.yaml.j2 index 3d76ba485..1a664a0ed 100644 --- a/roles/kubernetes/node/templates/kubelet-config.v1beta1.yaml.j2 +++ b/roles/kubernetes/node/templates/kubelet-config.v1beta1.yaml.j2 @@ -64,7 +64,7 @@ clusterDNS: kubeReservedCgroup: {{ kube_reserved_cgroups }} kubeReserved: {% if is_kube_master | bool %} - cpu: {{ kube_master_cpu_reserved }} + cpu: "{{ kube_master_cpu_reserved }}" memory: {{ kube_master_memory_reserved }} {% if kube_master_ephemeral_storage_reserved is defined %} ephemeral-storage: {{ kube_master_ephemeral_storage_reserved }} @@ -73,7 +73,7 @@ kubeReserved: pid: "{{ kube_master_pid_reserved }}" {% endif %} {% else %} - cpu: {{ kube_cpu_reserved }} + cpu: "{{ kube_cpu_reserved }}" memory: {{ kube_memory_reserved }} {% if kube_ephemeral_storage_reserved is defined %} ephemeral-storage: {{ kube_ephemeral_storage_reserved }} @@ -87,7 +87,7 @@ kubeReserved: systemReservedCgroup: {{ system_reserved_cgroups }} systemReserved: {% if is_kube_master | bool %} - cpu: {{ system_master_cpu_reserved }} + cpu: "{{ system_master_cpu_reserved }}" memory: {{ system_master_memory_reserved }} {% if system_master_ephemeral_storage_reserved is defined %} ephemeral-storage: {{ system_master_ephemeral_storage_reserved }} @@ -96,7 +96,7 @@ systemReserved: pid: "{{ system_master_pid_reserved }}" {% endif %} {% else %} - cpu: {{ system_cpu_reserved }} + cpu: "{{ system_cpu_reserved }}" memory: {{ system_memory_reserved }} {% if system_ephemeral_storage_reserved is defined %} ephemeral-storage: {{ system_ephemeral_storage_reserved }}