Hi some please help on this while installing kubeadm on ec2 instance i m getting . . .

Kiran Kumar R:
Hi some please help on this while installing kubeadm on ec2 instance i m getting this error root@ip-172-31-36-51:~# kubeadm init
[init] Using Kubernetes version: v1.21.0
[preflight] Running pre-flight checks
[WARNING IsDockerSystemdCheck]: detected “cgroupfs” as the Docker cgroup driver. The recommended driver is “systemd”. Please follow the guide at https://kubernetes.io/docs/setup/cri/
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR NumCPU]: the number of available CPUs 1 is less than the required 2
[ERROR Mem]: the system RAM (978 MB) is less than the minimum 1700 MB
[preflight] If you know what you are doing, you can make a check non-fatal with --ignore-preflight-errors=...
To see the stack trace of this error execute with --v=5 or higher
root@ip-172-31-36-51:~# cc @Tej_Singh_Rana @Mohamed Ayman

Mohamed Ayman:
you should increase the cpu/memory to 2 cores/ 2G Ram instead of 1/1. Also, you can try kubeadm init --ignore-preflight-errors='all' Which is not recommended