https://dagster.io/ logo
#deployment-kubernetes
Title
# deployment-kubernetes
a

Abhishek Agrawal

03/06/2023, 11:29 PM
for each of the run, I see a new workload is getting added in my GKE cluster.. just wanted to understand if they are still incurring cost? will they get deleted automatically?
r

rex

03/07/2023, 3:02 PM
You can configure automatic deletion of your Kubernetes jobs by configuring a TTL on your cluster: https://kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished/
a

Abhishek Agrawal

03/07/2023, 3:08 PM
These are created by dagster when there's a new task to run, right? I'm thinking in hybrid setting, this is something which should be managed by Dagster? Some config like "delete pods once the process has finished"..?
r

rex

03/07/2023, 3:29 PM
Yes, these are tasks that are launched by the Dagster agent, but we defer to your Kubernetes cluster configuration on how to clean up these jobs, since that is natively handled as part of the Kubernetes API
a

Abhishek Agrawal

03/07/2023, 3:41 PM
Hmm right. Makes sense. Thanks!
2 Views