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

Skip draining controller pod #65

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

adrianchiris
Copy link
Collaborator

during drain operation the controller should
skip its own pod to support single-node case
where a single node is both control plane and worker.

we achieve this by adding an implicit pod selector label to the drain request.

@coveralls
Copy link

coveralls commented Jan 22, 2025

Pull Request Test Coverage Report for Build 12905080828

Details

  • 7 of 7 (100.0%) changed or added relevant lines in 1 file are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.01%) to 70.026%

Files with Coverage Reduction New Missed Lines %
internal/controller/maintenanceoperatorconfig_controller.go 2 73.53%
Totals Coverage Status
Change from base Build 12804513564: -0.01%
Covered Lines: 1063
Relevant Lines: 1518

💛 - Coveralls

during drain operation the controller should
skip its own pod to support single-node case
where a single node is both control plane and worker.

we achieve this by adding an implicit pod selector label
to the drain request.

Signed-off-by: adrianc <[email protected]>
@adrianchiris adrianchiris merged commit b977a35 into Mellanox:main Jan 22, 2025
9 checks passed
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.

4 participants