<p>Can anybody help me with this error. I have been following different links to install Kubernetes in centos 7 and I keep getting this error when i run the kubadm init command.  </p>

<pre><code>[ERROR NumCPU]: the number of available CPUs 1 is less than the required 2               
</code></pre>

<p>Im not really sure what this means. I put the slave nodes IP in /etc/hosts/ file. Am I supposed to do something else. maybe add the node to a config file??? These are the links and steps I followed. </p>

<p><a href="https://www.linuxtechi.com/install-kubernetes-1-7-centos7-rhel7/" rel="noreferrer">https://www.linuxtechi.com/install-kubernetes-1-7-centos7-rhel7/</a>
<a href="https://github.com/justmeandopensource/kubernetes/blob/master/docs/install-cluster.md" rel="noreferrer">https://github.com/justmeandopensource/kubernetes/blob/master/docs/install-cluster.md</a>
<a href="https://www.tecmint.com/install-kubernetes-cluster-on-centos-7/" rel="noreferrer">https://www.tecmint.com/install-kubernetes-cluster-on-centos-7/</a></p>

Brandon Koenig
<p>Kubeadm runs a series of pre-flight checks to validate the system state before making changes.This error means the host don't have minimum requirement of 2 CPU. You can ignore the error if you still want to go ahead and install kubernetes on this host.</p>

<pre><code>kubeadm init --ignore-preflight-errors=NumCPU
</code></pre>
