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

[release-0.20][manual add utilities and options to detect control plane #310

Conversation

ffromani
Copy link
Collaborator

add utilities to getch all the controlplane nodes, similarly to worker node which we support since forever.
We can use this code to autodetermine the replica size.

ffromani added 5 commits July 31, 2024 12:17
because an amazing series of coincidence, and lack of real need,
the tool itself lacked a way to set its own verbosity.
Fixed with this patch, adding the ubiquitous `-v` option.

Fixing excessive logging along the way, which was gone unnoticed
because the default level was zero.

Signed-off-by: Francesco Romani <[email protected]>
(cherry picked from commit 0b65fcb)
bubble up into executable (from the root command)
the deployer.Environment management, to make room
to discover the control plane info.

Signed-off-by: Francesco Romani <[email protected]>
(cherry picked from commit da17968)
add utilities to getch all the controlplane nodes,
similarly to worker node which we support since forever.

Signed-off-by: Francesco Romani <[email protected]>
(cherry picked from commit c5094bb)
expose control plane detection

Signed-off-by: Francesco Romani <[email protected]>
(cherry picked from commit 14a53f5)
to avoid to break the render flow, create the client
lazily, not eagerly.

Signed-off-by: Francesco Romani <[email protected]>
(cherry picked from commit 7b8e051)
@ffromani ffromani merged commit 3657d32 into k8stopologyawareschedwg:release-0.20 Jul 31, 2024
5 checks passed
@ffromani ffromani deleted the detect-control-plane-0.20-redo branch July 31, 2024 10:31
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.

1 participant