Skip to content
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

Consider moving MachinePool to experimental #2484

Closed
juan-lee opened this issue Feb 28, 2020 · 7 comments
Closed

Consider moving MachinePool to experimental #2484

juan-lee opened this issue Feb 28, 2020 · 7 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Milestone

Comments

@juan-lee
Copy link
Contributor

User Story

As a developer I would like to be able to freely evolve the MachinePool API after v1alpha3 is released due to new requirements around AWS/Azure SPOT support.

Detailed Description

Does it make sense for MachinePool to be in an experimental category for some amount of time before being included in the core api? Features like SPOT for AWS and Azure might require some evolution of the MachinePool API. Once we release v1alpha3, API deprecation policies might make it difficult to accommodate change.

/kind feature

@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Feb 28, 2020
@juan-lee
Copy link
Contributor Author

@vincepri FYI

@ncdc
Copy link
Contributor

ncdc commented Feb 28, 2020

SGTM, thanks for proposing this.

@vincepri
Copy link
Member

+1 to this change, I think it makes a lot of sense given the nature of these new API types. Let's chat about it at the next community meeting? I'll play around with it and open a PR to move the types, we can then review/merge next week if there is enough consensus.

/milestone v0.3.0-rc.3
/assign

cc @JoelSpeed, if we want to do the same for MHC?

@JoelSpeed
Copy link
Contributor

With regards to MHC, I'm not opposed to the idea of moving to an experimental group if that allows the main CRDs within the group to be promoted to beta and eventually GA. This decision, IMO, should be deferred to people with more experience in the project than I have.

That said, I would like to add some context to help the decision. I think the MHC project is a lot smaller than the MachinePool project and is likely to have fewer changes needed to it than MachinePool is likely to need. We introduced MHC into Openshift back in Openshift 4.1 (K8s 1.13) so it has already had some time to mature in our implementation before being ported over to CAPI. In terms of the API of the MHC, I can't think of anything off the top of my head that will need changing in the mid term, the only problems I'm aware of right now (with the current implementation plans at least) are that MHC doesn't currently support MachinePool (could this need an API change?) and there could be an argument for adding backoff/ratelimiting to MHC. I suspect both of these changes would largely be internal and not API breaking.

@enxebre do you have anything to add on this topic?

@enxebre
Copy link
Member

enxebre commented Mar 2, 2020

Just one note, we introduced MHC as tech preview in 4.1 and GA in 4.3.

Regarding the experimental category for MHC I'm not opposed to that but I agree with @JoelSpeed I wouldn't anticipate any breaking API changes on MHC. The heavy implementation development is already done, plus we are alpha. I'd see this a more suitable case for MHC if we were in an already beta API scenario.

MHC doesn't currently support MachinePool

I wouldn't expect this to happen as machinePool by design relies on the native provider implementation for managing/scaling/health-checking a pool of instances.

Regarding machines/machineSets, MachinePool and spot instances I would expect incremental changes to happen at the provider API level.

@vincepri
Copy link
Member

vincepri commented Mar 4, 2020

/close

Closing now that the PR has been merged

@k8s-ci-robot
Copy link
Contributor

@vincepri: Closing this issue.

In response to this:

/close

Closing now that the PR has been merged

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

6 participants