k8s节点加入报错
报错信息如下:error execution phase preflight: [preflight] Some fatal errors occurred:[ERROR FileContent–proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables contents ar
·
报错信息如下:
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR FileContent–proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables contents are not set to 1
[ERROR FileContent–proc-sys-net-ipv4-ip_forward]: /proc/sys/net/ipv4/ip_forward contents are not set to 1
解决方法:
$ sysctl -w net.ipv4.ip_forward=1
$ echo "1" >/proc/sys/net/bridge/bridge-nf-call-iptables
更多推荐
已为社区贡献1条内容
所有评论(0)