Skip to content

Commit 7f2236d

Browse files
Remove two deprecated / unnecessary default overrides in node
LowDisk threshold is slated for removal in 1.8 and CFS quota is on by default now.
1 parent 6fa596e commit 7f2236d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/cmd/server/kubernetes/node/options/options.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ func Build(options configapi.NodeConfig) (*kubeletoptions.KubeletServer, *compon
7070
server.HTTPCheckFrequency = metav1.Duration{Duration: time.Duration(0)} // no remote HTTP pod creation access
7171
server.FileCheckFrequency = metav1.Duration{Duration: time.Duration(fileCheckInterval) * time.Second}
7272
server.KubeletFlags.ContainerRuntimeOptions.PodSandboxImage = imageTemplate.ExpandOrDie("pod")
73-
server.LowDiskSpaceThresholdMB = 256 // this the previous default
74-
server.CPUCFSQuota = true // enable cpu cfs quota enforcement by default
7573
server.MaxPods = 250
7674
server.PodsPerCore = 10
7775
server.CgroupDriver = "systemd"

0 commit comments

Comments
 (0)