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

Removing unmaintained projects from image-builder #1143

Closed
jsturtevant opened this issue Apr 24, 2023 · 11 comments · Fixed by #1175
Closed

Removing unmaintained projects from image-builder #1143

jsturtevant opened this issue Apr 24, 2023 · 11 comments · Fixed by #1175
Assignees
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.

Comments

@jsturtevant
Copy link
Contributor

Is your feature request related to a problem? Please describe.

I would like to propose removing the currently unmaintained projects and simplify this repository. The readme states there are three projects in this repository but this also a command line tool. There has been little to no activity on the projects beyond the Cluster API image builder:

There has been feedback that the project is difficult to approach as folks are not sure where to begin. Part of this is due to three projects being in the repository and it is difficult to figure out what changes are needed.

Another part of this is that the current maintainers of the project have no experience with the tools outside image-builder folder or have a clear vision for where those projects should go.

Describe the solution you'd like
Remove the code from this project and maybe move the CAPI folder up in the code tree structure (this might be breaking change or difficult so lower prior than remove code).

Describe alternatives you've considered
We could continue to leave them with no commits

  • doesn't address the issue of making it hard to know where and how to begin.
  • creates confusion

We could move them to new github repositories.

  • there are not clear maintainers for the projects so this doesn't achieve much
  • If in the future someone wants to the code could still be moved

Additional context

Please comment and let us know if there are any reservations or concerns. I propose we have a lazy consensus period (maybe a month?) and pin this issue to the repository for enough visibility to get any feedback/concerns.

/kind cleanup

@k8s-ci-robot k8s-ci-robot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Apr 24, 2023
@AverageMarcus
Copy link
Member

Pinging @hakman @justinsb and @rifelpet as the listed kops maintainers for your thoughts on kube-deploy.

@mboersma
Copy link
Contributor

I'm generally in favor of removing these unmaintained folders to lower the cognitive overhead of just visiting the project. It doesn't seem worth it to hollow them out or move them to new repos; if there is interest in keeping or improving any of it, community members should speak up and I think that's all it would take for them to stick around.

Having said that, I don't think we're in a hurry and we wouldn't want anyone who cares to be surprised by this. I think lazy consensus of a month or longer is reasonable.

@drew-viles
Copy link
Contributor

I agree in terms of removing old code that is no longer maintained. As someone who started working with the project back in September, it was a bit confusing at first to see all these extra directories only to discover they're not actually required for CAPI.

If it's no longer being maintained, it seems like extra effort to move it elsewhere for it to potentially go stale "over there".

As for the V1 section, I'm a fan over the CLI approach over the Docker method personally - I have no reasoning for this other than "that's what I do now" 😆.

However, looking at the binary that was being developed in V1, it looks like it was created to replace the process that is managed by packer/ansible etc which seems like a long (and possibly doomed to fail) task due to the complexity already built into the project. Not impossible, just hard and time consuming. So I would also be in favour of removing that too.

FWIW, the one I mentioned during office hours that I'd been working on was to make use of the existing codebase in the images/capi directory not to replace it. Maybe as it matures I can share it with the community and see if that can become the CLI approach we take for the project for those that want/need it.

For now though I feel that all we need in this project is the CAPI work but as @mboersma said there is no rush here. We can take the time to have this decision made on how to move forward with this.

@rifelpet
Copy link

Kops no longer uses kube-deploy/imagebuilder and we can almost certainly remove it from master. We can wait on confirmation from the others for final approval.

@hakman
Copy link
Member

hakman commented Apr 25, 2023

Kops uses official OS images these days, so anything kube-deploy/imagebuilder can be removed from our point of view.

@MarcelMue
Copy link

I agree with the sentiment here - removing unmaintained code and simplifying the code structure will be good for the overall project health.

@sbueringer
Copy link
Member

sbueringer commented May 23, 2023

Sounds good to me.

Assuming we go ahead and all non-CAPI tools will be removed, I wonder if the repository should be renamed eventually to something like "cluster-api-image-builder". This would clearly signal the association with the Cluster API project going forward.

@kkeshavamurthy
Copy link
Member

SGTM

Also, we have some providers likes digital ocean which have not been touched in a couple of years. ibmcloud just has support for centos-7 and inactive for a yr etc etc.
Any thoughts on those?

@AverageMarcus
Copy link
Member

Also, we have some providers likes digital ocean which have not been touched in a couple of years. ibmcloud just has support for centos-7 and inactive for a yr etc etc.
Any thoughts on those?

I think those should be addressed separately. One thing I would like to see in the future is more consistency and shared code across the different providers. Right now we don't really have any insight on which of these providers are being used by people and which aren't.

@AverageMarcus
Copy link
Member

/assign

@jsturtevant
Copy link
Contributor Author

I think those should be addressed separately.

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants