gentle-tomato-480
01/14/2025, 12:04 PMaverage-finland-92144
01/14/2025, 2:10 PMIs there a max limit on the task timeout?No hard limit in this regard in Flyte. You can set this limit at the Flyte node level with nodeExecutionDeadline or at the task level with the
timeout
argument.average-finland-92144
01/14/2025, 2:11 PM24h timeouts due to resource availability reasonsI'm curious, would using spot/preemptible instances help in some way here?
gentle-tomato-480
01/14/2025, 2:16 PMgentle-tomato-480
01/14/2025, 2:16 PMaverage-finland-92144
01/14/2025, 2:21 PMIs there a way to get all the param values a workflow was run with as dictNot as a dict, but I think the closest is using FlyteRemote to inspect the execution and get the inputs https://docs.flyte.org/en/latest/user_guide/development_lifecycle/inspecting_executions.html#flyteremote
gentle-tomato-480
01/14/2025, 3:02 PMaverage-finland-92144
01/14/2025, 3:15 PMgentle-tomato-480
01/15/2025, 4:49 PMConfig
into FlyteRemote (I'm on flytekit 1.13.7, FlyteRemote.auto
is not available) to be able to reach the flyte cluster. I've got it to work using Secrets and read the relevant things (endpoint, client_id, client_secret) from the k8s secret and pass these into the Config
object via with_params(PlatformConfig(endpoint, client_id, client_secret))
. But is there a better way of doing this?average-finland-92144
01/15/2025, 4:55 PM.for_endpoint
method available? https://docs.flyte.org/en/latest/api/flytekit/design/control_plane.html#any-endpointgentle-tomato-480
01/15/2025, 4:56 PMgentle-tomato-480
01/15/2025, 4:56 PMgentle-tomato-480
01/15/2025, 4:56 PMaverage-finland-92144
01/15/2025, 4:57 PMgentle-tomato-480
01/15/2025, 4:58 PMaverage-finland-92144
01/15/2025, 4:59 PM