Faild to run "kubeadm init" on CentOS7, ERROR NumCPU

[root@yuanxu8881 user]# kubeadm init --pod-network-cidr=10.244.0.0/16

[init] Using Kubernetes version: v1.13.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

[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`

  • post-author-pic
    Thulasiraman V
    01-03-2019

    Kubernetes version 1.13 needs to 2 vCPU in the master. Either u need to upscle ur master node or u need to go with lower version of Kubernetes.

  • post-author-pic
    Keith T
    01-03-2019

    If you're using Cloud Playground servers then you can select a size with 2 CPUs and you'll be good to go.

  • post-author-pic
    yuanxu888
    01-04-2019

    I did use Cloud Playground. I am unable to find the place to select 2 CPU. Please advice.

Looking For Team Training?

Learn More