Add support cAdvisor (#1908)

Signed-off-by: Haiwei Liu <carllhw@gmail.com>
This commit is contained in:
Haiwei Liu
2017-11-06 21:50:28 +08:00
committed by Matthew Mosesohn
parent a1244d7bd3
commit ad0cd6939a
3 changed files with 7 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ KUBELET_HOSTNAME="--hostname-override={{ kube_override_hostname }}"
--authorization-mode=Webhook \
--client-ca-file={{ kube_cert_dir }}/ca.crt \
--pod-manifest-path={{ kube_manifest_dir }} \
--cadvisor-port=0 \
--cadvisor-port={{ kube_cadvisor_port }} \
{# end kubeadm specific settings #}
--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') }} \