无法创建目录“/proc/sys/net/bridge”:没有这样的文件或目录

dou*_*sun 5 kubernetes

我想在centos 7上安装kubernetes。我已经安装了kubeadm并使用kubeadm来安装kubernetes。kubeadm init\n错误:

\n
error execution phase preflight: [preflight] Some fatal errors occurred:\n        [ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables does not exist\n        [ERROR SystemVerification]: failed to parse kernel config: unable to load kernel module: "configs", output: "", err: exit status 1\n        [ERROR SystemVerification]: unsupported graph driver: vfs\n[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`\n
Run Code Online (Sandbox Code Playgroud)\n

然后我运行命令mkdir /proc/sys/net/bridge并收到错误mkdir: cannot create directory \xe2\x80\x98/proc/sys/net/bridge\xe2\x80\x99: No such file or directory。\n如何修复它?

\n