What would be a reason to set the runK8sConfig `tt...
# ask-community
a
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
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
What would be a logging pattern in the case of k8s be?
a
can you rephrase the question, im not sure what type of pattern you are talking about
a
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
Yea thats certainly ideal. Dagster also has https://docs.dagster.io/deployment/dagster-instance#compute-log-storage to assist for dagster specifically.