1
0
mirror of https://github.com/rancher/rke.git synced 2025-08-02 15:48:03 +00:00

Disable cadvisor and readonly port in kubelet

This commit is contained in:
galal-hussein 2018-03-21 19:59:45 +02:00
parent c299e9c690
commit 4d90a1ca79

View File

@ -190,6 +190,8 @@ func (c *Cluster) BuildKubeletProcess(host *hosts.Host) v3.Process {
"kubelet",
"--v=2",
"--address=0.0.0.0",
"--cadvisor-port=0",
"--read-only-port=0",
"--cluster-domain=" + c.ClusterDomain,
"--pod-infra-container-image=" + c.Services.Kubelet.InfraContainerImage,
"--cgroups-per-qos=True",