-
Notifications
You must be signed in to change notification settings - Fork 191
Remove d2s workers flag #4594
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
base: master
Are you sure you want to change the base?
Remove d2s workers flag #4594
Conversation
| return supportedAsMaster | ||
| } | ||
|
|
||
| if requireD2sWorkers { |
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.
Note for reviewers:
This is key change really. The rest is just tidying up signatures
|
|
||
| if requireD2sWorkers { | ||
| switch vmSize { | ||
| case api.VMSizeStandardD2sV3, api.VMSizeStandardD2sV4, api.VMSizeStandardD2sV5: |
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.
Maybe V3 should be dismissed since they're not published anymore by MSFT
2447d4c to
59de31c
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mociarain The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
|
||
| // Document support | ||
| var supportedWorkerVmSizes = map[api.VMSize]api.VMSizeStruct{ | ||
| // used for aro e2e testing |
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.
Note for reviews:
This comment is try but this will also enable these for our customers i.e 2 core worker machines.
This is fine according to Openshift docs](https://docs.redhat.com/en/documentation/openshift_container_platform/4.11/html/nodes/worker-nodes-for-single-node-openshift-clusters) and if we literally run our E2E tests on them then they must be fine for our clients.
IMO this seems like a nice win for everyone but maybe there is some reason we have hidden these machines from our customers??
|
@mociarain: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
What this PR does / why we need it:
This PR removes the D2sWorker flag and allows the good work done here by @bizz001 to be realized.
We (@mrWinston & I) discovered this initially when seeing this error
On investigation we saw that the size was valid but we were setting this RPFeatureFlag and that was failing validation. This meant that we couldn't use the other family of machines (and use our Azure capacity to it's fullest) with the current setup. Rather than add more code and clauses we decided to kill it and trust ourselves to be responsible and not spin up very large machines.
Test plan for issue:
runmake clientIs there any documentation that needs to be updated for this PR?
Yes and they're done as part of this PR.