https://flyte.org logo
#ask-the-community
Title
# ask-the-community
t

Tarmily Wen

12/07/2022, 8:50 PM
After a ray task is completed, the pods for the head and workers remain alive, preventing my autoscaling group from downscaling. Does anyone else see this happening? If so how do I ensure it cleans itself up after the ray task is completed?
k

Kevin Su

12/07/2022, 8:57 PM
TTLSecondsAfterFinished
is set to 3600s for people see the log on dashboard, because dashboard is running in the head node. if you want to shut down it immediately, you could set it to 0. https://github.com/flyteorg/flyteplugins/blob/d5295d284c028be2b6d3c7ba9d6888e616d31551/go/tasks/plugins/k8s/ray/config.go#L12
update the propeller config map.
d

David Espejo (he/him)

01/19/2023, 4:34 PM
Hi @Tarmily Wen Wondering if the above recommendation worked for you or if there's any additional help you may require?
67 Views