-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
AWS: Create ControlPlaneMachineSet CRDs #6172
AWS: Create ControlPlaneMachineSet CRDs #6172
Conversation
1763221
to
f458ad9
Compare
/cc @JoelSpeed |
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.
The ControlPlaneMachineSet is different to the MachineSet. There should be a single ControlPlaneMachineSet, which has to be called cluster
in the openshift-machine-api
namespace.
Then the FailureDomains
should contain information for all of the zones, not just a single zone. It is up to the ControlPlaneMachineSet
operator to handle spreading the master machines across the failure domains
b627699
to
052f591
Compare
Looks good, can you please attach as a code block an example of a generated ControlPlaneMachineSet based on this PR? Then we can run that through our validation webhooks and double check that it is valid, looks like it should be good though |
052f591
to
bc33dc4
Compare
Fixed some issues and generated the CRD.
|
This is invalid, you can't have |
bc33dc4
to
812a25b
Compare
Fixed it. PTAL new CRD.
|
I think this looks ok but I'd like to quickly run this through our webhook validations to double check it passes, I'll have to create a cluster to do that so it may take some time |
/retest |
812a25b
to
d4bd08b
Compare
/retest |
So I gave this a test and hit highlighted an issue with one of the assumptions we made while developing the CPMS. This will work for any region with 3 failure domains but if there are more this won't work currently. I've created openshift/cluster-control-plane-machine-set-operator#73 to fix this, so we can merge this once this new PR merges |
I'd like to hold off merging this until openshift/cluster-control-plane-machine-set-operator#80 merges, as we will then have the operator deployed in CI and be able to verify that this change doesn't break installations. If we merge the other way round we may need to patch things up here later |
/test e2e-aws I think everything I wanted to see merged before we merge this is done now so let's try a selection of AWS presubmits and see how badly they break 😉 |
@rna-afk I don't really understand how but all the AWS installs seem to be broken with some terraform issue right now, is that a result of this PR do you think? |
d4bd08b
to
4282e74
Compare
/retest |
/test e2e-aws |
4282e74
to
de96ff4
Compare
Should work now. Was just a rogue pointer reference that I made. |
/test e2e-aws |
Something went wrong with the CI system there |
/test yaml-lint |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: patrickdillon 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 |
Creating an extra CRD asset for the ControlPlaneMachineSet which is required for the machine api operator for more control over the control-plane nodes that come up on AWS.
14de63d
to
779e0ed
Compare
/test gofmt |
/test shellcheck |
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
/test okd-images |
/test aro-unit |
/skip |
/test e2e-azure |
/test okd-unit |
@rna-afk: The following tests failed, say
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. |
Everything is in payload now so now reason from my side to hold this up anymore, let's try get this merged asap |
/retest |
Creating an extra CRD asset for the ControlPlaneMachineSet which
is required for the machine api operator for more control over
the control-plane nodes that come up on AWS.