diff --git a/pkg/daemons/control/server.go b/pkg/daemons/control/server.go index 8782396222..163ba534b5 100644 --- a/pkg/daemons/control/server.go +++ b/pkg/daemons/control/server.go @@ -102,7 +102,7 @@ func controllerManager(cfg *config.Control, runtime *config.ControlRuntime) { "--cluster-cidr", cfg.ClusterIPRange.String(), "--root-ca-file", runtime.TokenCA, "--port", "0", - "--bind-address", "127.0.0.1" + "--bind-address", "127.0.0.1", "--secure-port", "10252", } if cfg.NoLeaderElect { @@ -122,7 +122,7 @@ func scheduler(cfg *config.Control, runtime *config.ControlRuntime) { args := []string{ "--kubeconfig", runtime.KubeConfigSystem, "--port", "0", - "--bind-address", "127.0.0.1" + "--bind-address", "127.0.0.1", "--secure-port", "10251", } if cfg.NoLeaderElect {