-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
"skaffold delete --wait" #770
Comments
This race condition actually gets worse when we set the grace-period to be lower. We could do a |
Argh I assumed --grace-period would do a forced kill much faster. We can roll that back. |
We might be able to tackle it from the apply side and make sure that we're aren't trying to apply anything thats already in a |
I think this could be interesting for CI/CD use cases. @tejal29 what do you think? |
Thank you for the idea! I'm closing this issue as it's been open a while, and no one has yet stated an interest in addressing it. If you feels strongly about this issue, feel free to comment here or re-raise an issue referencing this one. |
skaffold v0.8.0
If I do a
skaffold delete
immediately followed by askaffold dev
, I see this output, which is unexpected (note the"configured"
words):If I just did a
skaffold delete
I expect these resources to be deleted.What ended up happening is that
skaffold delete
kicks off deletes but doesn't actually wait until deletions are complete. As a result,skaffold dev
now has created these deployments:whereas if I actually run
skaffold delete
and wait for everything to actually get deleted, then runskaffold dev
I get the full list of deployments as I expected:The text was updated successfully, but these errors were encountered: