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

Add git mirror for tarball creation in Kubernetes #310

Open
gctucker opened this issue Aug 31, 2023 · 0 comments
Open

Add git mirror for tarball creation in Kubernetes #310

gctucker opened this issue Aug 31, 2023 · 0 comments

Comments

@gctucker
Copy link
Contributor

WIth the new API & Pipeline deployment, the kernel source tarballs are being generated in a Kubernetes container. The first time this happens, a new git repository is being created from scratch which can take a while. Subsequent tarballs should happen more quickly but it's still a limiting factor, and the pod may need to be restarted every now and then.

We may also move tarball creation to a plain job rather than a pod, in which case it would definitively be recreated for every kernel revision. Or we may have replicas of the pod getting created dynamically.

To avoid this issue, one option is to have some kind of git mirror available. This could be a read-only persistent volume in the cluster with a Pod run periodically to update it. There's already support in kernelci.build.update_repo to have a reference repository which can be a mirror, to speed things up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant