Error "the number of available CPUs 1 is less than the required 2" when creating kubernetes cluster on ec2

0 votes

I am trying to create kubernets cluster on an ubuntu 18.04 ec2 instance. I get the following error:

 sudo kubeadm init --pod-network-cidr= --apiserver-advertise-address=
[init] Using Kubernetes version: v1.15.2
[preflight] Running pre-flight checks
        [WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at
        [WARNING SystemVerification]: this Docker version is not on the list of validated versions: 19.03.1. Latest validated version: 18.09
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=...`
Aug 6, 2019 in Kubernetes by Pam

1 answer to this question.

0 votes

The new version of Kubernetes requires you to have a minimum of 2 CPUs. Make sure of that. I had faced a similar issue. 

Have a look at this for understanding how to resize the instance.

answered Aug 6, 2019 by Macy

Related Questions In Kubernetes

0 votes
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 11, 2019 in Kubernetes by Kalgi
• 51,890 points

reshown Apr 12, 2019 by Kalgi 2,231 views
0 votes
2 answers