Hi,

I have a project with this ResourceQuota:

$ oc describe ResourceQuota resource-quota
Name: resource-quota
Namespace: zf-novalac-staging
Resource Used Hard
-------- ---- ----
limits.cpu 0 1
limits.memory 0 2Gi
requests.cpu 0 1
requests.memory 0 2Gi

I start one DC:

$ oc scale dc mysql --replicas=1

$ oc get events -w
LASTSEEN                         FIRSTSEEN                        COUNT
NAME       KIND                    SUBOBJECT   TYPE      REASON
           SOURCE                           MESSAGE
2017-06-29 15:41:38 +0200 CEST   2017-06-29 15:31:03 +0200 CEST   5
mysql      DeploymentConfig                    Normal
 ReplicationControllerScaled   {deploymentconfig-controller }   Scaled
replication controller "mysql-79" from 0 to 1
2017-06-29 15:54:44 +0200 CEST   2017-06-29 15:34:44 +0200 CEST   63
 mysql-79   ReplicationController               Warning   FailedCreate
             {replication-controller }        Error creating: pods
"mysql-79-" is forbidden: failed quota: resource-quota: must specify
limits.cpu,limits.memory,requests.cpu,requests.memory

I don't understand this error « resource-quota: must specify
limits.cpu,limits.memory,requests.cpu,requests.memory » because I have
specified this parameters.

Where did I go wrong?

Best regards,
Stéphane
-- 
Stéphane Klein <[email protected]>
blog: http://stephane-klein.info
cv : http://cv.stephane-klein.info
Twitter: http://twitter.com/klein_stephane
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to