本文共 722 字,大约阅读时间需要 2 分钟。
kubeadm init --kubernetes-version=v1.14.1 --pod-network-cidr=10.11.0.0/16 --service-cidr=10.12.0.0/12 --ignore-preflight-errors=Swap
[init] Using Kubernetes version: v1.14.1[preflight] Running pre-flight checkserror execution phase preflight: [preflight] Some fatal errors occurred:[ERROR NumCPU]: the number of available CPUs 1 is less than the required 2[ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables contents are not set to 1检查原因:
提示设置Iptables为1,且CPU最低要求2个[root@master ~]# echo 1 > /proc/sys/net/bridge/bridge-nf-call-iptables [root@master ~]# cat /proc/sys/net/bridge/bridge-nf-call-iptables 1升级虚拟机配置转载于:https://blog.51cto.com/cainiaibage/2384803