-
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
*: support no worker nodes #1231
*: support no worker nodes #1231
Conversation
Testing this patch with OpenStack. I'll report back asap. |
I've tested this on OpenStack and it seems to work fine. Thanks |
/retest |
1 similar comment
/retest |
switch ic.Platform.Name() { | ||
case awstypes.Name: | ||
mpool := defaultAWSMachinePoolPlatform() | ||
mpool.InstanceType = "m4.large" |
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.
Do we care about prioritizing this PR vs. #1163? They will conflict on at least this line.
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.
I don't care about prioritizing. I can rebase this PR easily enough.
I think #1157 will make this easier. I'll bump the exception-request thread to see if we can unstick that. |
Yes, this will be easier if #1157 lands. I created this PR mostly as a fallback in case the feature exception needed for #1157 is not approved. These are the minimal changes to fix the bug from https://jira.coreos.com/browse/CORS-988. |
Is it going to be possible to change that in the future, or at least, does this change allow for that to happen in the future in a backwards compatible way? I imagine a primary use case for separate machine pools will be to customize the configuration the pool has. Eg, you may want to tune kernel parameters for the "DB machine pool" or similar. |
We make the claim at https://github.com/openshift/installer/blame/master/docs/user/versioning.md#L7 that the installer will always generate a |
I think it's fine if it uses that, my question is more about if this will allow (ie: doesn't prevent) for future additions where it might use a different ignition config. |
/retest |
Rebased onto #1157 in preparation for it merging. |
Relax the restriction that there is exactly one compute machine pool and that it is named "worker". Also, relax the restriction that a compute machine pool must have a positive number of replicas. Warn the user if the install-config.yaml does not specify any compute nodes. The user will not be blocked from using no compute nodes. Changes for https://jira.coreos.com/browse/CORS-988
Include machines sets for every compute machine pool in the 99_openshift-cluster-api_worker-machineset.yaml manifest. All of the machine sets will use the same ignition config. Changes for https://jira.coreos.com/browse/CORS-988
/approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, staebler, wking 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 |
replicas
field is omitted, then the installer will apply the default replica count, which depends upon the platform selected.Fix for https://jira.coreos.com/browse/CORS-988