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 <tnielsen@redhat.com>
This commit is contained in:
1 file changed
+1
-1
@@ -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")
|
||||
|
||||
|
||||
Reference in new issue
Block a user