Describe the bug
When creating the drainer pod for scaledown, the drainer.sh uses its hostname in its connector which is not resolvable.
(https://github.com/artemiscloud/activemq-artemis-broker-kubernetes-image/issues/105)
Using pod's IP can be a simple solution in this case. The operator should configure the pod template so that the drainer script
in side the pod container could obtain it's own IP address (e.g. use an env var)
Describe the bug When creating the drainer pod for scaledown, the drainer.sh uses its hostname in its connector which is not resolvable. (https://github.com/artemiscloud/activemq-artemis-broker-kubernetes-image/issues/105) Using pod's IP can be a simple solution in this case. The operator should configure the pod template so that the drainer script in side the pod container could obtain it's own IP address (e.g. use an env var)