1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-19 18:30:38 +00:00

Merge pull request #426 from galal-hussein/disable_readonly_ports

Disable cadvisor and readonly port in kubelet
This commit is contained in:
Alena Prokharchyk
2018-03-21 11:21:28 -07:00
committed by GitHub

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",