首页 > 其他分享 >K8S初始化失败-01

K8S初始化失败-01

时间:2022-11-27 13:46:11浏览次数:38  
标签:初始化 01 bridge -- nf preflight call net K8S

[root@k8s-master01 ~]# kubeadm init --config /root/new.yaml --upload-certs
[init] Using Kubernetes version: v1.20.15
[preflight] Running pre-flight checks
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
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
To see the stack trace of this error execute with --v=5 or higher
You have new mail in /var/spool/mail/root

 

 解决办法:echo 1 >> /proc/sys/net/bridge/bridge-nf-call-iptables

标签:初始化,01,bridge,--,nf,preflight,call,net,K8S
From: https://www.cnblogs.com/xgg123/p/16929532.html

相关文章