creamy-knife-86303
05/22/2024, 2:20 PMconfiguration:
inline:
cluster_resources:
customData:
- development:
projectQuotaCpu:
value: "12"
projectQuotaMemory:
value: "20Gi"
- production:
projectQuotaCpu:
value: "12"
projectQuotaMemory:
value: "20Gi"
- staging:
projectQuotaCpu:
value: "12"
projectQuotaMemory:
value: "20Gi"
also tried using flytectl update cluster-resource-attribute --attrFile cra.yaml
with no luck. when running a task that requests Resources(cpu="5", mem="14Gi", gpu="1"),
i am getting below error
requested resources exceed limits: [BackOffError] The operation was attempted but failed, caused by: pods "awlkglrkxzvpc5wrbsxn-testtestmmdetection-0" is forbidden: exceeded quota: project-quota, requested: limits.cpu=5,limits.memory=14Gi, used: limits.cpu=0,limits.memory=0, limited: limits.cpu=4,limits.memory=3000Mi
the configurations seems to be updated based on the result from flytectl get cluster-resource-attribute -p flytesnacks -d development
{
"project": "flytesnacks",
"domain": "development",
"attributes": {
"projectQuotaCpu": "12",
"projectQuotaMemory": "20Gi"
}
}
how can i address this?average-finland-92144
05/22/2024, 4:02 PMkubectl get resourcequota -n <project-domain>
creamy-knife-86303
05/22/2024, 4:13 PMNAME AGE REQUEST LIMIT
project-quota 35h limits.cpu: 0/4, limits.memory: 0/3000Mi
creamy-knife-86303
05/22/2024, 4:15 PMcreamy-knife-86303
05/22/2024, 4:16 PMaverage-finland-92144
05/22/2024, 4:16 PM