From 65548ac547c65330e4c492da9b9fbf751b0e1b1d Mon Sep 17 00:00:00 2001 From: Kelvin Mungai Date: Thu, 20 May 2021 19:13:39 +0300 Subject: [PATCH] Fix and standardize akka management configuration (#358) --- code/service/src/main/resources/application.conf | 1 - code/service/src/main/resources/docker.conf | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/code/service/src/main/resources/application.conf b/code/service/src/main/resources/application.conf index 65da6fe5..9c29a74a 100644 --- a/code/service/src/main/resources/application.conf +++ b/code/service/src/main/resources/application.conf @@ -203,7 +203,6 @@ akka { # these settings bind Akka management to 0.0.0.0 so that k8s health checks # work when running behind istio proxy # https://doc.akka.io/docs/akka-management/current/akka-management.html - management.http.hostname = "0.0.0.0" management.http.bind-hostname = "0.0.0.0" management.http.bind-port = 8558 } diff --git a/code/service/src/main/resources/docker.conf b/code/service/src/main/resources/docker.conf index 3a9eee8e..51f387e3 100644 --- a/code/service/src/main/resources/docker.conf +++ b/code/service/src/main/resources/docker.conf @@ -3,10 +3,7 @@ include "application.conf" deployment-mode = "docker" akka.management { - http { - hostname = "" - bind-hostname = "0.0.0.0" - } + http.hostname = "" cluster { bootstrap { contact-point-discovery {