-
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
WIP: improve replica counting on openshift #278
base: master
Are you sure you want to change the base?
Conversation
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test all |
This change adds logic to count the number of owned machines by each machineset when calculating the replica count to the core autoscaler. It is needed because the machine-api controllers do not include machines in deleting phase when updating their replica field. This causes a problem with the core autoscaler as the count of nodes will not match the resources from the cloud provider. This can be removed when the machine-api controllers have been fully removed from openshift.
e5c96ba
to
32770e2
Compare
/test all |
/test e2e-aws-operator |
@elmiko: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Change appears to be what I had expected, hows the testing going? |
everything seems to be working for me, but i don't have a good handle on testing the case where a machineset goes into a failed mode. |
Is this something QE have a better grip on? Can they help with the testing of this? |
i think this is helping, but Zhaohua did a qe run and it didn't solve the problem. it will take some deeper investigation, but i think we want this change. |
@JoelSpeed i think it would be worthwhile to get this in, maybe make a jira card to capture what its doing, what do you think? |
@elmiko Was this not raised as part of a bug investigation? If we don't have a bug for it, I would expect this to be counted as one. We probably want to backport the fix right? |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/reopen i need to figure out what to do with this, i think we want it but it doesn't seem to affect the bug we were chasing. |
@elmiko: Reopened this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
DO NOT MERGE THIS YET
This change adds logic to count the number of owned machines by each machineset when calculating the replica count to the core autoscaler. It is needed because the machine-api controllers do not include machines in deleting phase when updating their replica field. This causes a problem with the core autoscaler as the count of nodes will not match the resources from the cloud provider.
This can be removed when the machine-api controllers have been fully removed from openshift.