You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "zhang-arvin (via GitHub)" <gi...@apache.org> on 2026/09/03 04:28:59 UTC
Re: [PR] [Fix-17883] Fix K8s Alert HTTP test sending failed by using IP for non-StatefulSet pods [dolphinscheduler]
zhang-arvin commented on PR #18574:
URL: https://github.com/apache/dolphinscheduler/pull/18574#issuecomment-5520357830
@SbloodyS Thanks for catching this! I have added IPv6 normalization in the Kubernetes fallback path:
```java
if (inetAddress instanceof Inet6Address) {
return normalizeV6Address((Inet6Address) inetAddress).getHostAddress();
}
return inetAddress.getHostAddress();
```
This ensures that scoped IPv6 addresses (e.g., `fd00::1234%eth0`) are properly normalized before being returned in K8s mode. Also added a K8s-mode IPv6 test with scope identifier in `NetUtilsTest.testGetHostInKubernetesMode`. Please take another look.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org