-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Should it be copy flannel binary to host? #8333
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
Sorry for my late response. @floryut Could you give us your idea? /remove-lifecycle stale |
I'm also more in favor of option 2, from my pov it's always better to fit to upstream as much as possible 🙇 |
Why is this needed:
I notice the
host-cni-bin
volume not used in roles/network_plugin/flannel/templates/cni-flannel.yml.j2kubespray/roles/network_plugin/flannel/templates/cni-flannel.yml.j2
Lines 138 to 140 in 2b5c185
PR #5598 #5937 mentioned the reason is flannel will copy binaries to /opt/cni/bin from install-cni container.
https://github.com/coreos/flannel-cni/blob/5fc4e35d410513501919a3dd7dc8063bec1d2857/install-cni.sh#L5-L8
and now the flannel project only copy flannel binary:
https://github.com/flannel-io/flannel/blob/a55d8aab7e092249e14dc6fb7a24414a8c5d8e4b/Documentation/kube-flannel.yml#L167-L178
since flannel-io/flannel@1a62caf#diff-9ef98a851566be25d8f74efb0f2a76b10a319a8ff60d0047e9c9171d3d561216 has been merged.
What would you like to be added:
here is two options:
host-cni-bin
unused volume.I personally prefer option 2 that will be consistent with upstream. I'd like to make a PR if you think it's okay 😺
The text was updated successfully, but these errors were encountered: