Resource quota management in openshift

10/10/2019

I need recommendation regarding resource quota management in openshift. We have enable resource quota at project level. Assigned certain amount of cpu, memory and also configured limit ranges. But due this resource quota we have a strange situation.

For example:

For one project we assigned 1 vcpu and 1 gb ram as request and 2vcpu and 2gb ram as limit. Their pod is running fine. But when they do rolling deployment, their new pod will not come up because of resource quota limit. Because deployment pod is also taking 1 cpu request and new pod requires 1 cpu request. So could anyone tell how to avoid this situation? How can we configure quotas so that developers will not have issue while rolling deployment. I understand during rolling deployment it requires same amount of resources as previous pod but developers are not happy with deployment pod taking resources from their quota as it should be coming from the openshift platform.

thanks, Santosh

-- santosh.a
kubernetes
openshift

0 Answers