在啓動kubernets的時候報錯

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 checks
error 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
升級虛擬機配置

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章