Revert "Use canonical hostname instead of ip by default (#16386)"#17348
Revert "Use canonical hostname instead of ip by default (#16386)"#17348abhishekagarwal87 wants to merge 3 commits intoapache:masterfrom
Conversation
This reverts commit 9459722.
|
Instead of reverting, what do you guys think about just adding ENV DRUID_SET_HOST_IP=1 into the Dockerfile? The reasoning here is that when running Druid on Kubernetes with ephemeral IP's certain features such as restoreTasksOnRestart break. Using canonical hostname is also helpful when looking at the Druid console since hostnames are easier to reason about than IP's |
|
This pull request has been marked as stale due to 60 days of inactivity. |
This is a change in behavior no? Do rolling upgrades work if we do this ? |
|
cc @aho135 |
|
This pull request has been marked as stale due to 60 days of inactivity. |
|
This pull request/issue has been closed due to lack of activity. If you think that |
This reverts commit 9459722.
The effect of PR #16386 is that by default, services would advertise themselves with localhost instead of their IP address and because of that, services in docker no longer can discover each other. I ran into this issue while verifying the docker image of 31 RC 1. We don't see this being an issue in IT because there, druid.host is already set to the container name.