Shaoyi Zhang
09/21/2021, 12:10 AMError creating: pods "prefect-job-138dbd9d-v6rq5" is forbidden: failed quota: xxxxx-request-quota: must specify requests.cpu,requests.memory
although I specified the request limit with
env:
.....
- name: JOB_MEM_REQUEST
value: "2048Mi"
- name: JOB_MEM_LIMIT
value: "4096Mi"
- name: JOB_CPU_REQUEST
value: "100m"
- name: JOB_CPU_LIMIT
value: "200m"
This is the Prefect source code if I understand correctly and I’m using prefect:0.15.5-python3.6
. Any suggestions?Kevin Kho
Kevin Kho
Kevin Kho
Kevin Kho
Shaoyi Zhang
09/21/2021, 4:02 PMflow.run_config = KubernetesRun(
labels=["dev"],
env={"test": "hahaha"},
image="xxxxxxx",
cpu_limit="200m",
cpu_request="100m",
memory_limit="4096Mi",
memory_request="1048Mi"
)