关于多网卡机器安装flannel的问题
由于flannel使用默认路由的网卡接口,导致适用了外网网卡,致使pod之间无法访问。所以需要指定使用相应网卡。在command参数增加--iface=eth1即可,具体配置如下 containers: - name: kube-flannel image: quay.io/coreos/flannel:v0.10.0-amd64 command:
·
由于flannel使用默认路由的网卡接口,导致适用了外网网卡,致使pod之间无法访问。
所以需要指定使用相应网卡。在command参数增加--iface=eth1即可,具体配置如下
containers:
- name: kube-flannel
image: quay.io/coreos/flannel:v0.10.0-amd64
command:
- /opt/bin/flanneld
args:
- --ip-masq
- --kube-subnet-mgr
- --iface=eth1
更多推荐
所有评论(0)