The healthcheck script tries to automatically finds out the dragonfly port when HEALTHCHECK_PORT not set. Dragonfly v1.16 set the last entry (returned by netstat command) as the healthcheck port which may or may not be a dragonfly port. Pass the environment to the statefulset containers so that it always set the healthcheck port to dragonfly.
The healthcheck script tries to automatically finds out the dragonfly port when HEALTHCHECK_PORT not set. Dragonfly
v1.16
set the last entry (returned bynetstat
command) as the healthcheck port which may or may not be a dragonfly port. Pass the environment to the statefulset containers so that it always set the healthcheck port to dragonfly.