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

feat(vmclass): add events about available nodes and sizing policies changed #606

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

eofff
Copy link
Contributor

@eofff eofff commented Dec 24, 2024

Description

Using new events api.
Add event when list of available nodes changed.
Add event when sizing policies changed.

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

What is the expected result?

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.

@eofff eofff requested review from diafour and Isteb4k December 24, 2024 14:32
@eofff eofff force-pushed the feat/vmclass/add-events-about-node-and-policy-changes branch from 40ac6c9 to 7dd0311 Compare December 24, 2024 14:32
@eofff eofff changed the title feat(vmclass): Add events about available nodes and sizing policies changed feat(vmclass): add events about available nodes and sizing policies changed Dec 25, 2024
@eofff eofff force-pushed the feat/vmclass/add-events-about-node-and-policy-changes branch from 7dd0311 to 2599df7 Compare December 25, 2024 14:40
@eofff eofff force-pushed the feat/vmclass/add-events-about-node-and-policy-changes branch 3 times, most recently from 57f3f1a to ea2db1c Compare January 14, 2025 09:52
@eofff eofff requested a review from Isteb4k January 14, 2025 11:05
@eofff eofff force-pushed the feat/vmclass/add-events-about-node-and-policy-changes branch from 9d7eafe to 1afff48 Compare January 14, 2025 14:01
Valeriy Khorunzhin added 3 commits January 15, 2025 11:51
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Signed-off-by: Valeriy Khorunzhin <[email protected]>
@eofff eofff force-pushed the feat/vmclass/add-events-about-node-and-policy-changes branch from 1afff48 to bdc28ef Compare January 15, 2025 08:51
Comment on lines +81 to +84
cb.
Status(metav1.ConditionFalse).
Reason(vmclasscondition.ReasonVMClassFree).
Message("")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to add a separate condition "VMClassFree", vmclass is in a deletion state at this point, it will be deleted almost immediately after removing finalizers.

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.

3 participants