Error
Linux kube-01 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
root@kube-01:/home/vagrant# kubeadm init --apiserver-advertise-address 192.168.56.101 --pod-network-cidr=192.168.0.0/16
[init] Using Kubernetes version: v1.13.4
[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=...`
To fix it .
[log out of the VM. assuming you are a root, you would have to exit twice]
exit
exit
From the path where Vagrantfile is, run the following,
vagrant reload kube-01
vagrant ssh kube-01
sudo su
....
kubeadm init ......