Skip to content

Commit

Permalink
fix: Default to kubernetes pod IP instead of deprecated pod DNS names (
Browse files Browse the repository at this point in the history
…#1244)

* fix: Migrate to kubernetes svc DNS names from the deprecated pod DNS names

Naive search replace to see what breaks in CI

* Revert "fix: Migrate to kubernetes svc DNS names from the deprecated pod DNS names"

This reverts commit 94c8c15.

* fix: Switch to use IPs by default instead of deprecated pod dns names
  • Loading branch information
johanandren authored Jan 22, 2024
1 parent 26718fa commit 09c9f55
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion discovery-kubernetes-api/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ akka.discovery {
pod-label-selector = "app=%s"

# Enables the usage of the raw IP instead of the composed value for the resolved target host
use-raw-ip = false
# Note that when using names, the deprecated DNS form <a>-<b>-<c>-<d>.<ns>.pod.<zone> is used
# and that may not work on newer Kubernetes versions.
use-raw-ip = true

# When set, validate the container is not in 'waiting' state
container-name = ""
Expand Down

0 comments on commit 09c9f55

Please sign in to comment.