kaniko/pkg/executor
Janosch Maier 46e01340c2
Remove tarball.WithCompressedCaching flag to resolve OOM Killed error (#1722)
* Remove tarball.WithCompressedCaching flag to resolve OOM Killed error

Large images cannot be build as the kaniko container will be killed due to an OOM error. Removing the tarball compression drastically reduces the memory required to push large image layers. Fixes #1680

This change may increase the build time for smaller images. Therefore a command line option to trigger the compression or a more intelligent behaviour may be useful.

* Add new command line flag to toggle compressed caching

* Add unittest for build with --compressed-caching command line flag set to false
2021-10-19 00:14:06 -07:00
..
build.go Remove tarball.WithCompressedCaching flag to resolve OOM Killed error (#1722) 2021-10-19 00:14:06 -07:00
build_test.go Remove tarball.WithCompressedCaching flag to resolve OOM Killed error (#1722) 2021-10-19 00:14:06 -07:00
composite_cache.go Fix .dockerignore for build context copies in later stages (#1447) 2020-10-08 12:47:14 -07:00
composite_cache_test.go Fix .dockerignore for build context copies in later stages (#1447) 2020-10-08 12:47:14 -07:00
copy_multistage_test.go rename whitelist to ignorelist 2020-06-02 15:56:27 -07:00
fakes.go chore: add workflows for pr tests (#1766) 2021-10-18 23:22:44 -07:00
push.go Remove tarball.WithCompressedCaching flag to resolve OOM Killed error (#1722) 2021-10-19 00:14:06 -07:00
push_test.go fix: create parent directories before writing digest files (#1612) 2021-04-13 14:41:54 -07:00