Skip to content

Commit

Permalink
Fix for minikube error RSRC_INSUFFICIENT_CORES
Browse files Browse the repository at this point in the history
Update test/envs/vm.yaml with 2 cpu count to resolve the following error:
	$ drenv start envs/vm.yaml
	2024-11-11 01:35:05,809 INFO    [vm] Starting environment
	2024-11-11 01:35:05,943 INFO    [cluster] Starting minikube cluster
	2024-11-11 01:35:06,330 ERROR   Command failed
	:
	  File "/home/ramenuser/ramen/test/drenv/commands.py", line 207, in watch
	    raise Error(args, error, exitcode=p.returncode)
	drenv.commands.Error: Command failed:
	   command: ('minikube', 'start', '--profile', 'cluster', '--driver', 'kvm2', '--container-runtime', 'containerd', '--disk-size', '20g', '--nodes', '1', '--cni', 'auto', '--cpus', '1', '--memory', '2g', '--extra-config', 'kubelet.serialize-image-pulls=false', '--insecure-registry=host.minikube.internal:5000')
	   exitcode: 29
	   error:
	      X Exiting due to RSRC_INSUFFICIENT_CORES: Requested cpu count 1 is less than the minimum allowed of 2

Signed-off-by: pruthvitd <[email protected]>
  • Loading branch information
pruthvitd authored and nirs committed Nov 13, 2024
1 parent 1f11958 commit 3a5254a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/envs/vm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ profiles:
- name: cluster
driver: $vm
container_runtime: containerd
cpus: 1
cpus: 2
memory: "2g"
rosetta: false
workers:
Expand Down

0 comments on commit 3a5254a

Please sign in to comment.