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

Guy Harel

08/31/2023, 12:13 PM
Hi again, I am using the helm chart for flyte-binary v1.9.1 . Is there a way to configure the default cpu and memory requests when running flytekit ? The default seems to be:
Copy code
Requests:
      cpu:     2
      memory:  200Mi
But I don't see where I can change that across the board without annotating tasks. I also don't see any values in the helm values created (helm get values)
m

Michael Tinsley

08/31/2023, 1:12 PM
You can set it like this with the inline config
Copy code
configuration:
  inline:
    task_resources:
      defaults:
        cpu: "1"
        ephemeralStorage: "0"
        gpu: "0"
        memory: "2Gi"
        storage: "2Gi"
      limits:
        cpu: "20"
        ephemeralStorage: "64Gi"
        gpu: "8"
        memory: "64Gi"
        storage: "64Gi"
g

Guy Harel

08/31/2023, 1:57 PM
Thanks @Michael Tinsley, I will try it shortly
Thanks again @Michael Tinsley, that worked perfectly 🙂
m

Michael Tinsley

08/31/2023, 6:42 PM
No problem 😄
4 Views