I'm creating kubernetes cluster on fedora 26, but I can't initialize cluster on kubernetes.
Here I'm attaching images and error for your references, guide me how to solve the issue..
Environment:
Kubeadm version:
Error Image:
Cluster Error:
You can run kubeadm init
with only one CPU added: --ignore-preflight-errors=NumCPU
. So your new code:
kubeadm init --pod-network-cidr=10.244.0.0/16 --ignore-preflight-errors=NumCPU
The issue with your setup is that the minimum required CPU to install Kubernetes with kubeadm is 2 and you have only 1 CPU on your VM.
If you want to setup kubernetes on single machine, please have a look at microK8s. Following is the step by step instruction to install it on Fedora:
https://itnext.io/a-local-kubernetes-with-microk8s-33ee31d1eed9