Skip to content

Commit 668dff6

Browse files
Merge pull request #19190 from smarterclayton/options
Adjust defaults to better handle self-hosting and bootstrapping
2 parents 5213e07 + a7bd9d6 commit 668dff6

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ 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")
7473
setIfUnset(args, "cgroup-driver", "systemd")
7574
setIfUnset(args, "container-runtime-endpoint", options.DockerConfig.DockerShimSocket)
7675
setIfUnset(args, "image-service-endpoint", options.DockerConfig.DockerShimSocket)

pkg/cmd/server/start/start_kube_controller_manager.go

-3
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ func computeKubeControllerManagerArgs(kubeconfigFile, saPrivateKeyFile, saRootCA
6363
if _, ok := cmdLineArgs["cluster-signing-key-file"]; !ok {
6464
cmdLineArgs["cluster-signing-key-file"] = []string{""}
6565
}
66-
if _, ok := cmdLineArgs["experimental-cluster-signing-duration"]; !ok {
67-
cmdLineArgs["experimental-cluster-signing-duration"] = []string{"720h"}
68-
}
6966
if _, ok := cmdLineArgs["leader-elect-retry-period"]; !ok {
7067
cmdLineArgs["leader-elect-retry-period"] = []string{"3s"}
7168
}

0 commit comments

Comments
 (0)