Closed hanishi closed 6 months ago
did you notice that pekko has a different port by default? It may help you.
The port setting must match the Kubernetes configuration settings depicted here: link for this example to work as expected. If that's what it defaults to, then the yml file must be fixed. Thanks for pointing it out, though
@hanishi https://github.com/apache/pekko-samples/pull/106 is merged. If you could retest with this change that would be much appreciated. Please reopen this issue if there are problems.
Description
The current
application.conf
configuration in thepekko-sample-cluster-kubernetes-scala
project lacks the essentialhttp
settings underpekko.management
. This omission prevents the application from binding to the required port (8558), which is necessary for Kubernetes health checks. Without this configuration, Kubernetes cannot perform health checks, leading to immediate termination of the pods as they are marked unhealthy.Required Changes
To resolve this critical issue and stabilize pod deployment, the following
http
settings need to be explicitly defined in theapplication.conf
file:By including these settings, Kubernetes can access the management HTTP server on port 8558 for health checks, ensuring the pods are correctly recognized as healthy and operational.