lwolf / kube-cleanup-operator

Kubernetes Operator to automatically delete completed Jobs and their Pods
MIT License
503 stars 109 forks source link

Keep parameters in minutes #44

Closed keszi000 closed 4 years ago

keszi000 commented 4 years ago

invalid value "0.1" for flag -keep-successful: parse error invalid value "0,1" for flag -keep-successful: parse error

I need these jobs for only ~10 minutes. Is it possible?

lwolf commented 4 years ago

Only integer values (as number of hours) are currently supported. Could you share your usecase please?

lwolf commented 4 years ago

Hi, this should be possible with the latest 0.7 release, could you give it a try? https://github.com/lwolf/kube-cleanup-operator/releases/tag/v0.7.0

Make sure to run it with -legacy-mode=false to be able to use arguments.

keszi000 commented 4 years ago

Sorry for the passivity. This is awesome! You are the best!