Hello everyone! I'm testing out flyte and running...
# ask-the-community
e
Hello everyone! I'm testing out flyte and running it locally in sandbox mode. I have created a simple task that loads a 2 GB file in memory and prints some useful information about the file. At this point, I'm just loading the file in memory and not doing anything with it. As I try to run the task from the console, my pod gets killed with OOMKilled. How can I increase the resources available for pod created by Flyte? Thank you!
y
Please add resource request & limit in task like this
Copy code
@task(
    requests= Resources(
      mem="1000Mi"
    ),
    limits= Resources(
      mem="1000Mi"
    ),
)
👍 1
e
Ohhhh, I totally forgot about this! I was trying to change the configs on Kubernetes level! Thank you!
🙌 2
169 Views