Hiromu Hota
12/20/2022, 9:21 PMttlSecondsAfterFinished
? By default, it is 3600s (1 hour) and we’d like to tear down a cluster right after a job is complete. Thanks for your help!
$ k describe rayjobs feb5da8c2a2394fb4ac8-n0-0 -n flytesnacks-development
...
Ttl Seconds After Finished: 3600
Kevin Su
12/20/2022, 9:30 PMHiromu Hota
12/20/2022, 9:31 PM$ kubectl describe rayjobs f3281d8b2689c4c35a67-n0-0 -n flytesnacks-development
Ttl Seconds After Finished: 60
For those who want to do the same, add this ray.ttlSecondsAfterFinished
to the values.yaml for flyte-core.
# -- Kubernetes specific Flyte configuration
k8s:
plugins:
ray:
ttlSecondsAfterFinished: 60
Kevin Su
12/20/2022, 10:13 PMKetan (kumare3)