In this video, I will show you how to enable a feature gate called TTLAfterFinished in your Kubernetes cluster. Once this feature gate is enabled, you can add ttlSecondsAfterFinished option in your job specification.
Normally when the jobs are completed, they won't be deleted and over time you can see lots of such jobs. We can use this feature to clean up old jobs that we no longer care about.
TTL Controller
kubernetes.io/docs/concepts/w...
kubernetes.io/docs/concepts/w...
Learn Kubernetes Playlist:
• Learn Kubernetes
Kubernetes & Resources Playlist:
• Kubernetes Resources
Hope you enjoyed this video. Please share it with your friends and don't forget to subscribe to my channel. For any questions/issues/feedback, please leave me a comment and I will get back to you at the earliest.
Thanks for watching.
If you wish to support me:
www.paypal.com/cgi-bin/webscr...
#learnkubernetes #justmekubernetes #kubernetes #ttlafterfinished
Негізгі бет [ Kube 11.1 ] Deleting Jobs in Kubernetes after completion using feature gate TTLAfterFinished
Пікірлер: 33