当前位置:   article > 正文

Kubernetes - flannel的默认网卡设置_failed to find any valid interface to use: failed

failed to find any valid interface to use: failed to get default interface:

前两天新配置了几台虚拟机,像往常一样安装集群,但是在flannel这一步总是有问题,查看日志:

Failed to find any valid interface to use: failed to get default interface: Unable to find default route

没找到有效的网卡设备,解决办法也很简单,在flannel的启动参数中指定网卡即可:

--iface="": interface to use (IP or name) for inter-host communication. Defaults to the interface for the default route on the machine. This can be specified multiple times to check each option in order. Returns the first match found.
--iface-regex="": regex expression to match the first interface to use (IP or name) for inter-host communication. If unspecified, will default to the interface for the default route on the machine. This can be specified multiple times to check each regex in order. Returns the first match found. This option is superseded by the iface option and will only be used if nothing matches any option specified in the iface op

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/128378
推荐阅读
相关标签
  

闽ICP备14008679号