diff --git a/discovery-kubernetes-api/src/main/resources/reference.conf b/discovery-kubernetes-api/src/main/resources/reference.conf index a4a8a7e2c..bb1c1ec53 100644 --- a/discovery-kubernetes-api/src/main/resources/reference.conf +++ b/discovery-kubernetes-api/src/main/resources/reference.conf @@ -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 ---..pod. 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 = ""