-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new option for flannel daemon to support dual stack: - "publicIPv6": "IPv6 accessible by other nodes for inter-host communication" - "auto-detect-ipv4": "auto detect ipv4 address of the iface", default value is true. - "auto-detect-ipv6": "auto detect ipv6 address of the iface", default value is false Add new option into `net-conf.json` configuration, like following: { "EnableIPv4": true, "EnableIPv6": true, "Network": "172.16.0.0/16", "IPv6Network": "fc00::/48", "Backend": { "Type": "vxlan" } } EnableIPv4 default value is true for useing kube subnet manager. EnableIpv6 default value is false. Flannel dual stack feature has limitation, only work with vxlan backend and kube subnet manager now. To enable flannel dual stack feature, need to do the following step: 1. setting flanneld daemon with "--kube-subnet-mgr --auto-detect-ipv6" 2. settting "EnableIPv6" and "IPv6Network" in "net-conf.json" like the above configuration. 3. setting network interface that flannel used ipv6 address and default ipv6 gateway in the host node. 4. vxlan support ipv6 tunnel require kernel version >= 3.12. Signed-off-by: yaoice <[email protected]>
- Loading branch information
1 parent
0b3e172
commit c7a7aa8
Showing
21 changed files
with
1,627 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.