Browse Source

Merge pull request #293 from galal-hussein/remove_deprecated_flags

Change address to bind-address for scheduler and controller-manager
pull/309/head
Darren Shepherd 6 years ago committed by GitHub
parent
commit
c0a0b0d396
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      pkg/daemons/control/server.go

4
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", "10252",
"--address", "127.0.0.1",
"--bind-address", "127.0.0.1",
"--secure-port", "0",
}
if cfg.NoLeaderElect {
@ -122,7 +122,7 @@ func scheduler(cfg *config.Control, runtime *config.ControlRuntime) {
args := []string{
"--kubeconfig", runtime.KubeConfigSystem,
"--port", "10251",
"--address", "127.0.0.1",
"--bind-address", "127.0.0.1",
"--secure-port", "0",
}
if cfg.NoLeaderElect {

Loading…
Cancel
Save