Skip to content
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

wait: consolidate command line wait path #209

Merged

Conversation

ffromani
Copy link
Collaborator

@ffromani ffromani commented Aug 9, 2023

commandline UX improvement for waitable objects: enable to set base (global) values.
Since this code is used only in command flow (e.g. not really needed by library code), start isolating it in their own source code files, until a more comprehensive reorganization happens.

Fixes: #201

Add global values, and global settings, to enable
overriding of default poll interval and default poll
timeout.

This is admittedly a very unpolished solution but
we start simple and fixing the cmdline UX until
we get better clarity about how a more polished solution
could look like.

Signed-off-by: Francesco Romani <[email protected]>
@ffromani ffromani force-pushed the configurable-wait-timeout branch from 0c33dec to 2981ebf Compare August 22, 2023 14:39
waitable objects are needed by the commandline
flow, not by packages proper.

Until a better API emerges, isolate the related
code in a separate package.

Signed-off-by: Francesco Romani <[email protected]>
@ffromani ffromani force-pushed the configurable-wait-timeout branch from 2981ebf to a4c6d84 Compare August 22, 2023 15:05
@ffromani ffromani merged commit b6e212e into k8stopologyawareschedwg:main Aug 22, 2023
@ffromani ffromani deleted the configurable-wait-timeout branch August 22, 2023 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

the wait timeout on deploy/remove should be configurable
1 participant