Unable to deploy because no resource available

I have an AWS t3.2xlarge (8 vCPU, 32 GiB Memory) instance which has K3S setup. I have an app that is configured to use 10GiB Memory and 3472 milli vCPU.

When I try to deploy the app, I keep getting error 0/1 nodes are available: 1 Insufficient cpu, 1 Insufficient memory. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod.. (x44).

I have benchmarked and my app doesn’t go beyond 4GiB of memory usage. So why would I encounter this error. How can i do deep dive and get to know more?

URL - Qovery

I reduced the resource usages, set the memory to be 8 GiB and CPU to be 80% of 50%, and then it worked.

Hello @0xbitmonk !

Indeed, the value you set as resources on your app act as Kubernetes pod requested AND limit resources. So even if, in fact your app is consuming 10Mo memory but resources memory is set to be 10Go Qovery side, then 10Go will be reserved on the cluster.

You can have a look here and here for more detailed explanation.

Let me know if it helps.


1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.