Can't allocate more than 1 core to a container

11/19/2021

Having an issue allocating more than 1 cpu to a pod that is running code that requires more processing power.

I have set my limit for a container to 3 cpu's enter image description here

and have set set the container to request 2 cpu;s with a limit of 3

enter image description here

But when running the container it does not go over 1000Mi of 1 cpu.

There is very little running during this process and keda will start new nodes if needed.

How can i assign more cpu power to this container?

UPDATE

So i changed the Default Limit as suggested by moonkotte but i can only ever get just over 1 cpu

Limits and defaults

New Nodes are coming online when more containers are required, through Keda.

each node has 4 cpu, so sufficient resources

this is the details of each node. in this it is running one of the containers in question

enter image description here

It just isn't using all the cpu allocated

-- theHaggis
azure-aks
kubernetes

0 Answers