Connor Ashcroft
04/16/2024, 5:31 PMMarvin
04/16/2024, 5:31 PMjob_configuration, locate the containers section.
4. Add the following section to specify the memory request for the pod:
json
"resources": {
"requests": {
"memory": "MEMORY_REQUEST_VALUE"
},
"limits": {
"memory": "MEMORY_LIMIT_VALUE"
}
}
Replace MEMORY_REQUEST_VALUE and MEMORY_LIMIT_VALUE with appropriate values for your use case (e.g., "1Gi" for 1 gigabyte of memory).
Remember to save the work pool configuration after making these changes. The deployments running with this work pool will now request the specified amount of memory.
For further details, refer to the Prefect Kubernetes Deployment documentation.