spring-cloud-deployer icon indicating copy to clipboard operation
spring-cloud-deployer copied to clipboard

TTL for cleaning up completed pods of tasks and stream

Open dhpizza opened this issue 1 year ago • 0 comments

Problem description: With ttlsSecondsAfterFinished we have the possibilty to clean up scheduled task (i.e. jobs and their pods in kubernetes). Is there also a configuration available for completed pods from (single launchend) tasks and streams?

Although, for launching a task, the UI offers this parameter spring.cloud.deployer.kubernetes to be set, it does not have any affect on the launched and completed task.

Solution description: Offer TTL also for completed pods not only jobs

Description of alternatives: Alternatively we run a delete-completed-pods cronjob to cleanup the k8s cluster.

dhpizza avatar Jan 22 '24 15:01 dhpizza