<@ULVA73B9P> I've created some workers hosted on k...
# ask-marvin
c
@Marvin I've created some workers hosted on kubernetes to poll flow runs, but when I execute a run, I keep getting the error of "Pod not started". When I look into this further, in my containers I see the status error: "Terminated - OOMKille". What can I do to resolve these issues?
m
The "OOMKilled" (Out of Memory Killed) error indicates that your Pod has consumed more memory than the configured limit and has been terminated by the Kubernetes system. To resolve this issue: 1. Increase Memory Limits: Ensure that your Pods have adequate memory limits set. 2. Optimize Code: Review your code to make sure it’s not using unnecessary memory. 3. Resource Requests and Limits: Set appropriate resource requests and limits in your Kubernetes Pod specification to ensure the Kubernetes scheduler assigns enough resources to your Pods. Here are some useful references to guide you through this: - For Prefect 2.x, configuring Kubernetes workers can be found here - For Prefect 3.x, you can refer to advanced settings and configurations here If you continue to face issues, please share more details about your current configurations and the memory requirements of your workloads.