We set up kubernetes dual-stack clusters and want to use node-local dns. When checking the code I see that only one IP familiy is supported at time (
|
for _, ip := range params.LocalIPs { |
|
if utilnet.IsIPv6(params.LocalIPs[0]) != utilnet.IsIPv6(ip) { |
|
return params, fmt.Errorf("unexpected IP Family for localIP - %q, want IPv6=%v", ip, utilnet.IsIPv6(params.LocalIPs[0])) |
). What is the reason for that? Can we also add dual-stack support to the kubernetes node-cache?
We set up kubernetes dual-stack clusters and want to use node-local dns. When checking the code I see that only one IP familiy is supported at time (
dns/cmd/node-cache/main.go
Lines 104 to 106 in fe97ec9