-
Notifications
You must be signed in to change notification settings - Fork 104
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
Plan Update and Trigger with Wait #1470
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm.
I wouldn't mind having the WaitTime added to the plan status --wait
command as well, so we have a unified set of arguments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to postpone this PR until we have the instance admission controller (IAC) active by default. The problem is that in the absence of IAC, IC will effectively ignore updates if there is already a plan in progress. This will lead to WaitForInstance
method not seeing any UID change and so the command will hang, potentially forever. This behavior was always there but this PR makes it easy to run into this issue.
@zen-dog while the story can be improved... we can doc the feature until the IAC is in place... what is the timeframe of IAC? |
the rejection seems unwarranted... the "will hang, potentially forever" seems scary but it is not. This is a known situation.. and is on the client side. no harm will come from it and the "hang" if invoked can be cancelled with ctrl+c break... under this scenario it would act like a kubectl |
I don't believe many users are aware of all existing pitfalls that arise without active IAC in the presence of multiple plans. And I'd rather not expose users to them via a CLI option. The ETA for making IAC required is 0.13. That being said, feel free to merge anway if you feel strongly about needing this feature. |
Signed-off-by: Ken Sipe <kensipe@gmail.com>
rebased to the latest... we also now have IAC as default on. |
--wait
and--wait-time
added forplan update
andplan trigger
Signed-off-by: Ken Sipe kensipe@gmail.com