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

【已解决,建议修复】1.16.2版本kube-node创建失败 Unable to update cni config: no valid networks found in /etc/cni/net.d #737

Closed
Ushijima-yanj opened this issue Nov 15, 2019 · 3 comments
Labels

Comments

@Ushijima-yanj
Copy link

release:2.1.0
创建node节点时读取cni配置文件失败:
ansible-getnode
kubelet
创建的/etc/cni/net.d/10-default.conf文件如下
image

参考flannel-io/flannel#1178 (comment)
1.16版本kubernetes需要在配置文件中指定cni版本
image
image

@Ushijima-yanj Ushijima-yanj changed the title 1.16.2版本flannel-cni 1.16.2版本kube-node创建失败 Unable to update cni config: no valid networks found in /etc/cni/net.d Nov 15, 2019
@Ushijima-yanj Ushijima-yanj changed the title 1.16.2版本kube-node创建失败 Unable to update cni config: no valid networks found in /etc/cni/net.d 【已解决,建议修复】1.16.2版本kube-node创建失败 Unable to update cni config: no valid networks found in /etc/cni/net.d Nov 15, 2019
@gjmzj
Copy link
Collaborator

gjmzj commented Nov 16, 2019

感谢提醒,不过这个问题在 release 2.1.0 已经修复过了,详见项目文件:
roles/kube-node/templates/cni-default.conf.j2

@github-actions
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jan 25, 2023
@github-actions
Copy link

github-actions bot commented Feb 1, 2023

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as completed Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants