https://dagster.io/ logo
#ask-community
Title
# ask-community
a

Aaron T

08/22/2023, 2:53 PM
What would be a reason to set the runK8sConfig
ttlSecondsAfterFinished
? I am wondering if it is ok to change it to 0 to immediately remove the job pods
a

alex

08/22/2023, 3:43 PM
I am wondering if it is ok to change it to 0 to immediately remove the job pods
Yea its definitely ok to do that. One reason people set it to non-0 values is having time to investigate the pods / logs (if they are not shipped elsewhere) for debugging purposes edit: for clarity
a

Aaron T

08/22/2023, 3:48 PM
What would be a logging pattern in the case of k8s be?
a

alex

08/22/2023, 3:50 PM
can you rephrase the question, im not sure what type of pattern you are talking about
a

Aaron T

08/22/2023, 3:51 PM
For logging, wouldn't you have logs go to a central location instead of on a per pod basis that you loose after the pod terminates?
a

alex

08/22/2023, 3:59 PM
Yea thats certainly ideal. Dagster also has https://docs.dagster.io/deployment/dagster-instance#compute-log-storage to assist for dagster specifically.