IPV6 Only Access #10271
Replies: 2 comments 14 replies
-
I don' think your problem has nothing to do with #7148 => that one is about the operator talking over IPv6 to the Kubernetes API. It has nothing to do with Kafka (plus it is old so it might not be needed anymore anyway). So you should not expect that to solve your issue. It is hard to know for sure without understanding your environment. But it seems to me like your brokers advertise the IPv4 addresses wich your network cannot route. So to fix that, you might need to:
(Again, it is a bit speculative what the problem is without detailed knowledge of your environment) |
Beta Was this translation helpful? Give feedback.
-
We're also on IPv6 only and we are seeing issues with the controller creating a quorum when deploying Kafka using this operator. The error we're seeing is
where both controllers and brokers can't connect to controllers somehow. We were able to confirm that the DNS entry can be resolved to an IPv6 address so we know that DNS is not the issue, but instead we found that controllers are only bind to IPv4 when we ran
Setting ipFamilyPolicy: SingleStack
ipFamilies: [IPv6] has no effect, which also kinda seems understandable since it's not clear if that affects the kraft controllers itself. What's a good way to make sure all pods coming up are bind to an IPv6 address and not IPv4? I'm a noob in Java, so might be a simple question, but wasn't obvious when I did some search. |
Beta Was this translation helpful? Give feedback.
-
I have looked over https://github.com/orgs/strimzi/discussions/7148 and tried to implement the suggested solution. I wanted to spawn a new thread to avoid hijacking the conversation.
My Operator is installed with the following configuration:
I don't have a master node/ control plane V6 address, so I'm stuck with the V4 address shown above.
when I connect the cluster from a V6 only network, I get the following errors:
%3|1719444266.764|FAIL|rdkafka#consumer-1| [thrd:GroupCoordinator]: GroupCoordinator: 34.136.35.18:9094: Failed to connect to broker at 18.35.136.34.bc.googleusercontent.com:9094: Network is unreachable (after 3ms in state CONNECT)
% Error: Local: Broker transport failure: GroupCoordinator: 34.136.35.18:9094: Failed to connect to broker at 18.35.136.34.bc.googleusercontent.com:9094: Network is unreachable (after 3ms in state CONNECT). If I enable V4 addresses everything works fine.
This is my current configuration for my cluster. I've also tried setting V6 for the plain and tls listeners but that causes issues.
Any help would be appreciated.
I've attached my cluster configuration as well if that's helpful.
Beta Was this translation helpful? Give feedback.
All reactions