-
Notifications
You must be signed in to change notification settings - Fork 701
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
Remove hardcoded node selection in E2e test #169
Remove hardcoded node selection in E2e test #169
Conversation
2a2c27a
to
500a8d4
Compare
…adedNode worker node Accomodate kubernetes-sigs@dee89a6 And format files according to gofmt verification update version to 1.11.1
500a8d4
to
7245a31
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Thanks for the @Bowenislandsong . Can you check if the pods are actually getting evicted if tested locally? Meaning can you manually increase the log level and verify that pods are getting evicted?
I did check by stepping through the code in debug mode, I will run the test again in a bit by showing the logging. Thank you. |
We expect the number of pods on the least utilized node to be 7 before eviction test and 8 after. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
Thanks for the PR :)
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ravisantoshgudimetla The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Remove hardcoded node selection in E2e test
/kind flake
The e2e test was hardcoded to selecting the 3rd node as default leastLoadedNode. This hard coding does not guarantee to select the least loaded node if the testing cluster is set up differently.
Fixes # This fix help selects the actual least loaded node based on the number of pods assigned to each node after RC is set up. It also skips the master node.
/cc @ravisantoshgudimetla