From b3129fd5cf3044ea83254ca0d9a4e5f889995eab Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Thu, 4 Feb 2021 07:08:59 -0700 Subject: [PATCH] ceph: bind mgr modules to all interfaces instead of pod ip Binding the dashboard and prometheus to all interfaces instead of the pod ip will ensure that they are listening properly. Binding to the pod ip was only a short term solution that was intended to be removed with Nautilus, which is already Rook's min supported version. Signed-off-by: Travis Nielsen --- pkg/operator/ceph/cluster/mgr/spec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/operator/ceph/cluster/mgr/spec.go b/pkg/operator/ceph/cluster/mgr/spec.go index 5fa33bd7e..6edc3ab3b 100644 --- a/pkg/operator/ceph/cluster/mgr/spec.go +++ b/pkg/operator/ceph/cluster/mgr/spec.go @@ -183,7 +183,7 @@ func (c *Cluster) makeSetServerAddrInitContainer(mgrConfig *mgrConfig, mgrModule cfgSetArgs := []string{"config", "set"} cfgSetArgs = append(cfgSetArgs, fmt.Sprintf("mgr.%s", mgrConfig.DaemonID)) cfgPath := fmt.Sprintf("mgr/%s/%s/server_addr", mgrModule, mgrConfig.DaemonID) - cfgSetArgs = append(cfgSetArgs, cfgPath, controller.ContainerEnvVarReference(podIPEnvVar)) + cfgSetArgs = append(cfgSetArgs, cfgPath, "0.0.0.0") cfgSetArgs = append(cfgSetArgs, "--force") cfgSetArgs = append(cfgSetArgs, "--verbose")