-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Memoize git loaders for speeding up build
and localize
commands
#5298
Comments
This issue is currently awaiting triage. SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the The 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. |
build
and localize
commandsbuild
and localize
commands
Let me know what you think :) |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
Can this be picked up? Deduping the remote git resources would make a huge difference for our build times. |
Eschewed features
What would you like to have added?
Currently
kustomize
does not really use any logic to dedup remote git resources when building or localizing which causes these operations to be slow. Real example:With the super naive patch below, we get this result:
Why is this needed?
This is really naive implementation of what I think needs to be done:
Can you accomplish the motivating task without this feature, and if so, how?
Yes, we can, unfortunately
kustomize
command get progressively slow as we add more manifests with more remote resources.What other solutions have you considered?
There are a couple of other attempts to speed this operation up but I think those would probably benefit greatly from this solution instead:
Anything else we should know?
I am willing to work on a proper PR for this feature if the team behind
kustomize
agrees with the direction and willing to work with me to get it merged.Feature ownership
The text was updated successfully, but these errors were encountered: