ROOK_POD_IP has no awareness of ipFamily
Is this a bug report or feature request?
- Bug Report
Deviation from expected behavior:
In a dualstack environment where kubelet uses --node-ip=IPv4,IPv6, if ipFamily is set to IPv6, public_bind_addr is still the IPv4 address leading to a non-functional cluster. This also happens with --node-ip=IPv6,IPv4 and ipFamily: IPv4 but binds to IPv6 address.
Same as https://github.com/rook/rook/issues/7522 which was automatically closed due to inactivity.
This seems to be caused by ipFamily only adjusts the ms_bind_ipv6 and ms_bind_ipv4 settings while public_bind_addr, set by env ROOK_POD_IP, binds to whichever address family comes first in the status.podIPs (legacy status.podIP) which is determined by kubelet's --node-ip flag.
Expected behavior:
Setting ipFamily also makes public_bind_addr to attach to the correct address family.
File(s) to submit:
Helm values
cephClusterSpec:
network:
ipFamily: "IPv6"Environment:
- OS (e.g. from /etc/os-release): AlmaLinux 10.1 (Heliotrope Lion)
- Kernel (e.g.
uname -a): Linux ltdatakcore01 6.12.0-124.43.1.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Mar 11 06:19:32 EDT 2026 x86_64 GNU/Linux - Cloud provider or hardware configuration: bare metal
- Rook version (use
rook versioninside of a Rook Pod): rook: v1.19.2, go: go1.25.6 - Storage backend version (e.g. for ceph do
ceph -v): ceph version 20.2.0 (69f84cc2651aa259a15bc192ddaabd3baba07489) tentacle (stable) - Kubernetes version (use
kubectl version): Client Version: v1.33.9, Kustomize Version: v5.6.0, Server Version: v1.35.1+k0s (I am aware of the minor version skew of +/-1) - Kubernetes cluster type (e.g. Tectonic, GKE, OpenShift): k0s
- Storage backend status (e.g. for Ceph use
ceph healthin the [Rook Ceph toolbox](https://rook.io/docs/rook/latest-release/Troubleshooting/ceph-toolbox/#interactive-toolbox)):ceph healthhangs due to non functional cluster
Source: rook/rook