Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flannel vxlan是否需要增加directrouting的支持? #652

Closed
weilinqwe opened this issue Jul 29, 2019 · 2 comments
Closed

flannel vxlan是否需要增加directrouting的支持? #652

weilinqwe opened this issue Jul 29, 2019 · 2 comments

Comments

@weilinqwe
Copy link
Contributor

默认vxlan采用隧道技术,支持跨网段,当同网段时效率偏低。 vxlan支持directrouting选项,当节点处于同网段时,通过硬件网卡路由直接转发。

"Backend": {
        "Type": "vxlan",
        "Directrouting": true
      }

/etc/ansible/roles/flannel/templates/kube-flannel.yaml.j2

为了脚本适配性,只有backend是vxlan时才选用directrouting选项

@gjmzj

@gjmzj
Copy link
Collaborator

gjmzj commented Jul 29, 2019

刚又读了下文档 https://github.com/coreos/flannel/blob/master/Documentation/backends.md;
我觉得可以添加下这个选项,当然公有云上不适用,所以默认关闭;有需要者手动打开即可;
68dd18a

@weilinqwe
Copy link
Contributor Author

好的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants