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

fix scale with windows nodes in cluster issue 4908 #5917

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

Conversation

Doofus100500
Copy link

@Doofus100500 Doofus100500 commented Jun 27, 2024

Add

Checklist

Fixes #
#4908

@Wolfe1
Copy link
Contributor

Wolfe1 commented Jun 27, 2024

In terms of simply ignoring any windows nodes I think this would do the trick. a few things that I think you would need before this got merged:

  • Add to the unit tests for scenarios with windows nodes present
  • Add End 2 end tests with windows nodes present
  • Update documentation to show that windows nodes are currently ignored

Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

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

What would happen if user would like to scale windows nodes?

@Wolfe1
Copy link
Contributor

Wolfe1 commented Jun 27, 2024

What would happen if user would like to scale windows nodes?

With this implementation, it would not work.

Looking at the code again, we already say what platform we wish to scale from in the Keda settings. Now that we pull the platformName from the grid sessions I would think we just use that to make sure it matches the expected platformName in our Keda settings rather than just completely excluding windows.

@Doofus100500
Copy link
Author

In my case, it’s enough to simply exclude Windows. This is because Windows nodes live in a VM. However, even before my PR, the user wouldn’t have been able to scale Windows nodes. I don’t quite understand which settings you are referring to, as I am not that deeply involved in your project.

Signed-off-by: novoselov <novoselov@skbkontur.ru>
Signed-off-by: novoselov <novoselov@skbkontur.ru>
@Doofus100500
Copy link
Author

Now that we pull the platformName from the grid sessions I would think we just use that to make sure it matches the expected platformName in our Keda settings rather than just completely excluding windows.

@Wolfe1 Like that?

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.

None yet

3 participants