Skip to content

开启双栈支持

Huanyu He edited this page Jul 5, 2022 · 7 revisions

v0.6.0 版本之前,hybridnet 默认只支持 IPv4 容器网络环境的创建,如果要支持 IPv6 或者双栈,需要开启 hybridnet 双栈 feature

helm upgrade hybridnet hybridnet/hybridnet -n kube-system --set dualStack=true

对于 >= v0.6.0 版本的 hybridnet,双栈作为内置的功能默认开启,不再提供 开启/关闭 的参数

因为 Policy Routing 以及 vxlan 虚拟设备在低版本 Linux 内核存在 ipv6 的兼容性问题,使用 ipv6 功能时宿主机的内核版本需要 >= 4.18,相关的内核修改如下:

Clone this wiki locally