How to configure ResourceQuotas for 3scale?
Issue
- I want to implement 3scale project level Resource Quota in Openshift.
- When applying ResourceQuotas on 3scale in Openshift, getting below error in APIManager CR & DeploymentConfig pods.
kind: ResourceQuota
apiVersion: v1
metadata:
name: example-quota
namespace: 3scale
spec:
hard:
limits.cpu: '10'
limits.memory: 32Gi
pods: '40'
scopes:
- NotTerminating
failed quota: example-quota: must specify limits.cpu for: check-svc,system-sidekiq; limits.memory for: check-svc,system-sidekiq
failed quota: example-quota: must specify limits.cpu for: zync,zync-db-svc; limits.memory for: zync,zync-db-svc
couldn't create deployer pod for XXXXXX is forbidden: failed quota: compute-resources: must specify limits.cpu,limits.memory
- Getting below error in events when applying the project level quota for 3scale in Openshift.
message: 'Error creating deployer pod: pods "backend-redis-1-deploy" is forbidden:
failed quota: example-quota: must specify limits.cpu for: deployment; limits.memory"
Environment
- Red Hat 3scale API Management Platform
- 2.14 On-Premise
- Red Hat OpenShift Container Platform (OCP) 4.14
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.