Project Quota and Limits preventing RHACS deployment
Issue
- When the project has following limits, it prevents the collector daemonset pods from running.
$ oc describe limits
Name: compute-limits
Namespace: stackrox
Type Resource Min Max Default Request Default Limit Max Limit/Request Ratio
---- -------- --- --- --------------- ------------- -----------------------
Pod cpu 7m 2 - - -
Pod memory 100Mi 16Gi - - -
Container cpu 7m 2 50m 500m -
Container memory 100Mi 16Gi 128Mi 512Mi -
$ oc describe ds/collector
Warning FailedCreate <invalid> (x13 over 28m) daemonset-controller (combined from similar events): Error creating: pods "collector-gpfjn" is forbidden: minimum memory usage per Container is 100Mi, but request is 10Mi
Environment
- Red Hat OpenShift Container Platform 4.x
- Red Hat Advance Cluster Security for Kubernetes 3.71
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.