What's the best way to put a hard limit the number...
# flyte-support
l
What's the best way to put a hard limit the number of pods that Flyte & SparkOperator will spin up? (let's say we have some vCPU limit of 100 or something)
f
Resourcequota
Flyte can also manage that
l
like this ?
Copy code
defaults:
    cpu: "1"
    memory: 150Mi
limits:
    cpu: "2"
    memory: 450Mi
project: flyteexamples
domain: development
f
No this is default cpu etc per task if unspecified and limits
l
Ah
this file for cluster resources
Copy code
attributes:
    projectQuotaCpu: "1000"
    projectQuotaMemory: 5TB
domain: development
project: flyteexamples
l
great thanks, just making sure that's the best way
💯 1
f
Ya it should be and Flyte should start respecting it
There is some stuff that community is working on
157 Views