If you face the below error message while starting minikube with podman as the driver, then follow the below solution :
Error message : Exiting due to RSRC_INSUFFICIENT_CORES: Requested cpu count 2 is greater than the available cpus of 1
Reason : - By default podman creates the VM with 1 vCPU. minikube (Kubernetes) requires minimum 2vCPU
Steps :
- Stop the existing VM :
podman machine stop
- Remove the VM :
podman machine rm
- Initialize podman with 2 vCPU
podman machine init --cpus 2 --memory 2048 --disk-size 20
- Start the podman
podman machine start
- Now, start the minikube
minikube start --driver=podman --container-runtime=cri-o