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

Umbrella Tracking Issue: Investigate and Resolve Kaniko OOM w/ multi-stage builds #2788

Closed
2 tasks done
aaron-prindle opened this issue Oct 10, 2023 · 3 comments
Closed
2 tasks done
Assignees
Labels
area/multi-stage builds issues related to kaniko multi-stage builds issue/oom kind/tracking meta/kaniko priority/p0 Highest priority. Break user flow. We are actively looking at delivering it.
Milestone

Comments

@aaron-prindle
Copy link
Collaborator

aaron-prindle commented Oct 10, 2023

Umbrella tracking issue for investigating and resolving Kaniko OOM w/ multi-stage builds. Steps include:

  • Research root cause and develop repro case w/ github repo
  • Implement fix for identified root cause (eg: memory leak, symlink cycles, etc.)
@aaron-prindle aaron-prindle changed the title Investigate and Resolve Kaniko OOM w/ multi-stage builds Umbrella Tracking Issue: Investigate and Resolve Kaniko OOM w/ multi-stage builds Oct 10, 2023
@aaron-prindle aaron-prindle added this to the v1.18.0 milestone Oct 10, 2023
@aaron-prindle
Copy link
Collaborator Author

Related: #2033

@aaron-prindle aaron-prindle added meta/kaniko priority/p0 Highest priority. Break user flow. We are actively looking at delivering it. area/multi-stage builds issues related to kaniko multi-stage builds issue/oom kind/bug Something isn't working kind/tracking and removed kind/bug Something isn't working labels Oct 19, 2023
@JeromeJu
Copy link
Collaborator

JeromeJu commented Oct 20, 2023

Thanks to the pointers Aaron. I've tried screening on the following issues:

Hard link issue that causes extra memory usage:
#1743

Overflow in filename that leads to cannot save file error caused by recursion related with otiai10Cpy.Copy when copy from "/", this now fails with filename too long instead of draining all the space. [update] this is a bug that needs to be fixed, but probably not in scope of memory usage related.

Copy from /kaniko dir

OOM:

@aaron-prindle aaron-prindle modified the milestones: v1.18.0, v1.19.0 Nov 15, 2023
@aaron-prindle
Copy link
Collaborator Author

This should be ok to close out now with the merge of #2863. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/multi-stage builds issues related to kaniko multi-stage builds issue/oom kind/tracking meta/kaniko priority/p0 Highest priority. Break user flow. We are actively looking at delivering it.
Projects
None yet
Development

No branches or pull requests

2 participants