Skip to content

Commit b6ac928

Browse files
Self-hosted masters require many more pods per core
A single core master may run up to 25 pods before too long. This limit was intentionally low in the early days where stability was an issue. At this point it is no longer helpful and should be increased.
1 parent b272eb7 commit b6ac928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func ComputeKubeletFlags(startingArgs map[string][]string, options configapi.Nod
7070
setIfUnset(args, "file-check-frequency", fmt.Sprintf("%ds", fileCheckInterval))
7171
setIfUnset(args, "pod-infra-container-image", imageTemplate.ExpandOrDie("pod"))
7272
setIfUnset(args, "max-pods", "250")
73-
setIfUnset(args, "pods-per-core", "10")
73+
setIfUnset(args, "pods-per-core", "40")
7474
setIfUnset(args, "cgroup-driver", "systemd")
7575
setIfUnset(args, "container-runtime-endpoint", options.DockerConfig.DockerShimSocket)
7676
setIfUnset(args, "image-service-endpoint", options.DockerConfig.DockerShimSocket)

0 commit comments

Comments
 (0)