-
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
InstallConfig machine pool typing and validation #264
Comments
One thing I didn't think of at the time was: ControlPlane MachinePool I would be ok with this as it's flexible enough for the long term definition of what should exist in the cluster. You could enforce compute only contains one at install time if you wanted. I'd suggest avoiding "Master" and going "ControlPlane" as that's been a consistent trend as far as I can tell lately. But yes if leaving as is I think explicit type identifiers would be better than assumptions about names, and let the user choose the names. |
@abhinavdahiya, what do you think about:
? |
Closing due to inactivity. |
@crawford: Closing this issue. 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/test-infra repository. |
I'm still in favor of this change, but was waiting for feedback from other maintainers ;). Mind if I just go ahead and work up a PR? |
Spun off from this thread, @dgoodwin expressed concerns about
Machines
corner cases. What if no pool namedmaster
is configured? What if multiple pools namedmaster
is configured? What if a pool namedsomethingTheInstallerDoesNotUnderstand
is configured? I'd floated:but @dgoodwin pointed out compat issues between that approach and
ClusterDeployment
information.@abhinavdahiya suggested we leave
Machines
alone, but we don't currently have any validation forMachines
, and I expect we'll want to have some at some point.@dgoodwin suggested leaving
Machines
as it stands but adding a typed variable for the name with constants for the master and worker names (he suggestedcontrol-plane
andcompute
for the names) with verification checking for exactly onecontrol-plane
and at least onecompute
. He didn't give an opinion on thesomethingTheInstallerDoesNotUnderstand
case.I'm not clear enough on the trade-offs to have much of an opinion here, but think we should sort out how we want verification to work here before
InstallConfig
gets too popular and migration becomes difficult ;).The text was updated successfully, but these errors were encountered: