gentle-tomato-480
03/12/2024, 8:47 PMRequested MEMORY limit [2G] is greater than current limit set in the platform configuration [1Gi].
, so how do I increase the memory limit? Thanks!average-finland-92144
03/12/2024, 8:55 PMtask_resource_defaults
section.
There's got to be a task_resources.defaults.memory
set to 1Gi. This is the default resource request for Task Pods. In the absence of Limits (and not setting limits is better) Flyte will make Limit=Request.
So raising that key should in turn raise the max amount of resources (mem in this case) a particular Task can request
Does that make sense?gentle-tomato-480
03/12/2024, 8:57 PMgentle-tomato-480
03/12/2024, 8:58 PMglamorous-carpet-83516
03/12/2024, 8:59 PMgentle-tomato-480
03/12/2024, 8:59 PMgentle-tomato-480
03/12/2024, 9:49 PMgentle-tomato-480
03/12/2024, 10:17 PMgentle-tomato-480
03/12/2024, 10:18 PMgentle-tomato-480
03/12/2024, 10:21 PMaverage-finland-92144
03/13/2024, 4:36 PMinline.task_resources
Example heregentle-tomato-480
03/13/2024, 4:38 PMgentle-tomato-480
03/20/2024, 10:34 AMconfiguration:
inline:
task_resources:
defaults:
cpu: 500m
memory: 500Mi
storage: 500Mi
limits:
cpu: "10"
memory: 20Gi
But when I try to register tasks that set a limit of 4 cpu.
I'm getting the following error (suggesting as if the config was not taken?)
USER:BadInputToAPI: error=None, cause=<_InactiveRpcError of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "Requested CPU limit [4] is greater than current limit set in the platform configuration [2]. Please contact Flyte Admins to change these limits or consult the configuration"
debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"Requested CPU limit [4] is greater than current limit set in the platform configuration [2]. Please contact Flyte Admins to change these limits or consult the configuration", grpc_status:3, created_time:"2024-03-20T11:29:01.232266149+01:00"}"
gentle-tomato-480
03/20/2024, 10:56 AMaverage-finland-92144
03/21/2024, 4:13 PM