Loading

Flannel 启动报错

[root@ ~]#: kubectl logs -f kube-flannel-plcbl  -n kube-system kube-flannel
I0601 16:58:55.456862       1 main.go:518] Determining IP address of default interface
E0601 16:58:55.457192       1 main.go:204] Failed to find any valid interface to use: failed to get default interface: Unable to find default route

查看日志flannel无法绑定网卡,修改配置

kubectl -n kube-system edit ds kube-flannel
...
containers:
- args:
- --ip-masq
- --kube-subnet-mgr
#指定网卡名
- --iface=ens33
...
posted @ 2021-06-01 17:14  亚里士多智  阅读(853)  评论(0编辑  收藏  举报