-
Notifications
You must be signed in to change notification settings - Fork 38
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
Add upstream patch for node group autodiscovery #179
Add upstream patch for node group autodiscovery #179
Conversation
this needs to wait for #177 |
this is required for #180 |
I've had an initial pass over this PR, as far as I can tell the last 2 commits are in addition to #177 right? This autodiscovery filtering is done before the filtering that we do normally right? IE this shouldn't affect the behaviour of the autoscaler at all for us unless we start using the autoscaler discovery flag? |
yes, i will rebase once 177 is merged
correct. this will not affect us unless we expose the filtering flag. |
this needs to merge before #180 |
0a4e32f
to
c1e3e3f
Compare
c1e3e3f
to
b3087dc
Compare
rebased |
this needs to merge before #180 |
…aler clusterapi provider
This change add a few necessary changes to ensure that the upstream node autodiscovery patch works. * Add logic to `newNodeGroupFromScalableResource` to detect condition where a node group is capable of scaling from zero. * Change `clusterNameLabel` to match the openshift label. * Fix TestNodeGroupTemplateNodeInfo unit test to use new create test config functions.
b3087dc
to
bf74515
Compare
rebased after 177 merged |
/retest |
3 similar comments
/retest |
/retest |
/retest |
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
This looks fine, I had some questions while reviewing but answered them inline
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JoelSpeed 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 |
Can't comment on the pulled code from the upstream much, but the tests are passing with the commit bf74515 |
This change set brings in the upstream pull request (kubernetes#3314) to add an option for node group autodiscovery. It also carries a patch to ensure that the changes to do not disrupt openshift.