From e8c5b2498c8c233a573b36b12c3668019f745d1f Mon Sep 17 00:00:00 2001 From: galal-hussein Date: Sun, 31 Mar 2019 14:55:56 +0200 Subject: [PATCH] Change address to bind-address for scheduler and api --- pkg/daemons/control/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/daemons/control/server.go b/pkg/daemons/control/server.go index 8921358333..52f7437cdd 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", "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 {