-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Investigate deployers deletion when cancelling deployments #8439
Comments
A pretty simple fix would be to retain the current behavior of cancelling by setting ADS when New or Running, and cleanup when Complete (already happens) or Failed + Cancelled. |
Isn't migration to upstream deployment going to solve the problem of the deployer? IIRC they're not using any. On the other hand, deployer was created to allow creating users one by themselves, isn't this going to be backward compatibility issue? |
I think deployers will be always needed for running custom strategies. Also, until we get full feature parity, we will defer to our controller for feaures supported only by us.
This issue is about cleaning up deployers on cancelled deployments. I don't see any backwards compatibility implications but maybe I am missing something. Why do you think so? |
I understood your 'total removal' as entirely removing them ;) |
reworded |
I think it's arguable that cancelled deployers should be deleted, but I guess it's possible a user notices something's wrong and hits the cancel button so they can go inspect the pods immediately. This is UX guesswork, so I'm not sure there's a right answer. Where's the use case coming from? |
By "the pods" I assume you mean the deployers since the new application pods will be scaled down. Won't/Shouldn't the deployment fail either way if something wrong is noticed by the process? |
Does a user need the deployer pod if the deployment is cancelled? We On Mon, Apr 11, 2016 at 9:41 AM, Michail Kargakis [email protected]
|
Yeah, I don't think the deployer is any useful in case of a cancellation. I would say we could go ahead and remove deployers before we bring the logging service into play but they (deployer pods) would definitely be obsolete post-deployment in case of such an addition (fetch logs from deleted pods) |
Currently when we cancel a running deployment, we set ActiveDeadlineSeconds to its deployers so that they will fail and subsequently transition the deployment phase to Failed. We should investigate deleting those deployers.
cc: @smarterclayton @ironcladlou @pweil-
The text was updated successfully, but these errors were encountered: