https://flyte.org logo
#ask-the-community
Title
# ask-the-community
j

Jacob Wang

08/17/2023, 5:54 AM
Hi! After bumping flyte from v1.5.0 to v1.6.0 I found that the task resource config doesn’t propagate to AWS Batch Job’s resource config, I define CPU and memory like this:
Copy code
@task(requests=Resources(mem="16Gi", cpu="8"), task_config=AWSBatchConfig(platformCapabilities="EC2"))
But in AWS batch it’s always 1 vcpu and 1049 mem Any idea why?
@Kevin Su Sorry for the ping, but do you have any idea?
k

Kevin Su

08/18/2023, 6:05 PM
what’s the resource limit in flyteadmin configmap
could you try limit instead?
j

Jacob Wang

08/18/2023, 7:24 PM
I didn’t set one, I only set:
Copy code
task_resource_defaults:
    task_resources:
      defaults:
        cpu: 1000m
        memory: 1000Mi
        storage: 1000Mi
      limits:
        cpu: 256
        memory: 512Gi
        storage: 512Gi
k

Kevin Su

08/18/2023, 7:43 PM
how about flytekit 1.9.0
j

Jacob Wang

08/22/2023, 9:23 AM
No luck, seems like it’s only using the default values
Do you know why or should I create an issue? @Kevin Su
k

Kevin Su

08/24/2023, 4:12 PM
yes, could you create an issue, thanks
3 Views