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

[controller] Fix sds-health-watcher controller's incorrect used nodes count #92

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

ViktorKram
Copy link
Contributor

@ViktorKram ViktorKram commented Sep 5, 2024

Description

Fixed the way the controller count the nodes used by LVMVolumeGroup resources

Why do we need it, and what problem does it solve?

It prevents the case when the controller gets some nodes without a LVMVolumeGroup resource, but still used to count as there should be a sds-node-configurator pod on the node.

What is the expected result?

The controller operates only with LVMVolumeGroup used nodes.

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

@ViktorKram ViktorKram added the bug Something isn't working label Sep 5, 2024
@ViktorKram ViktorKram self-assigned this Sep 5, 2024
Signed-off-by: Viktor Kramarenko <viktor.kramarenko@flant.com>
@ViktorKram ViktorKram force-pushed the v-kramarenko-fix-health-watcher-bug branch from b420d76 to 1db5f25 Compare September 5, 2024 11:57
@AleksZimin AleksZimin merged commit 64f17b7 into main Sep 5, 2024
8 checks passed
@AleksZimin AleksZimin deleted the v-kramarenko-fix-health-watcher-bug branch September 5, 2024 12:33
ViktorKram added a commit that referenced this pull request Sep 17, 2024
… count (#92)

Signed-off-by: Viktor Kramarenko <viktor.kramarenko@flant.com>
astef pushed a commit that referenced this pull request Feb 13, 2025
… count (#92)

Signed-off-by: Viktor Kramarenko <viktor.kramarenko@flant.com>
Signed-off-by: Aleksandr Stefurishin <aleksandr.stefurishin@flant.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants