-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding activeDeadlineSeconds to build and pod spec #958
Conversation
I believe we need both active deadline seconds and ttlSecondsAfterFinished. The former stops builds that are long running and the latter cleans up pods in terminal state. We would also need to expose these fields in the image spec. We would also need to document what happens with the build controller if we introduce active deadline seconds and the pod is terminated before completion. Lastly we also need to expose these fields in the image spec. |
Thanks for the feedback @samj1912 Unfortunately https://kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished/ I tested it out anyway to be sure and got this error:
We're planning on addressing this in our implementation of kpack by creating a new controller to clean up the pods.
The container that's running exits with exit code 2 when the deadline seconds are met and the overall pod has a status of
Updated the image spec also 👍🏻 |
Thanks @daraghlowe ! |
What are we doing?