set ipv6-dual-stack true as default?
when i plan to setup dual stack k8s cluster, i use calico as network plugin, the pod's annotation get calico ipv4 and ipv6, but {status.podIPs} can't find any ipv6 address,After my troubleshooting, it was found that cri-dockerd did not set the ipv6-dual-stack flag to true.Is there a way to find that this cluster is a dual-stack cluster and then automatically set it up?
没看懂,来点信息和日志啥的看看
@zhangguanzhang 开双栈的时候发现pod一直没有v6地址但是网络插件实际是分配了的,最后发现是cri-dockerd的问题,需要手动设置 IPv6DualStackEnabled 为 true,目前感觉将这个默认设置为 true 应该是没什么影响的,cri-dockerd应该没法自动检测集群是否开启了双栈
config.IPv6DualStackEnabled = f.IPv6DualStackEnabled
看了下代码,好多地方和pod信息无关的地方只能类似这种全局特性判断,所以设置cmdline能解决估计也不会改动了