camel-k icon indicating copy to clipboard operation
camel-k copied to clipboard

Configure parallel container image layers push based on CPU quota

Open astefanutti opened this issue 3 years ago • 1 comments

The CPU resources allocated to the operator can significantly impact the integration build time.

Following #2837, which makes the operator aware of the CPU quota set on the operator container, the underlying container image push implementation should be configured accordingly.

For instance, the new option introduced in google/go-containerregistry#803 should be surfaced in Spectrum1, defaulted according to the operator container CPU quota, and passed to go-containerregistry2.

1: https://github.com/container-tools/spectrum/blob/8f8efa4592a2891dd9c1efa3f031f73a36862a93/pkg/builder/options.go#L5-L16 2: https://github.com/container-tools/spectrum/blob/8f8efa4592a2891dd9c1efa3f031f73a36862a93/pkg/builder/build.go#L55

astefanutti avatar Jun 07 '22 12:06 astefanutti

@astefanutti please assign it to me.

whtssub avatar Jun 07 '22 12:06 whtssub

This issue has been automatically marked as stale due to 90 days of inactivity. It will be closed if no further activity occurs within 15 days. If you think that’s incorrect or the issue should never stale, please simply write any comment. Thanks for your contributions!

github-actions[bot] avatar Sep 06 '22 00:09 github-actions[bot]

I think this can be closed. Any leftover by any chance?

squakez avatar Sep 06 '22 08:09 squakez

Yes, it's been addressed by #3366.

astefanutti avatar Sep 07 '22 07:09 astefanutti