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

Use tarball format insted of legacy for downloading Docker images #3232

Closed
10 of 20 tasks
to-bar opened this issue Jul 27, 2022 · 0 comments
Closed
10 of 20 tasks

Use tarball format insted of legacy for downloading Docker images #3232

to-bar opened this issue Jul 27, 2022 · 0 comments
Assignees

Comments

@to-bar
Copy link
Contributor

to-bar commented Jul 27, 2022

Is your feature request related to a problem? Please describe.
Currently we use command like below to download images:
crane --insecure --platform=linux/amd64 --format=legacy pull epiphanyplatform/keycloak:14.0.0 keycloak-legacy.tar

Comparing to the default (tarball) format it has two drawbacks:

  • download takes much longer (e.g. 24s vs 7s)
  • tar file is much bigger (e.g. 691M keycloak-legacy.tar 372M keycloak-tarball.tar)

Describe the solution you'd like
Switch from legacy format to tarball by default for all images.
If some images require legacy format, then add optional format property to images.yml files (the same approach as we have for allow_mismatch property) or convert the images to newer format and push to epiphanyplatform registry.

Also try to avoid using --insecure option.

Additional context
n/a


DoD checklist

  • Changelog
    • updated
    • not needed
  • COMPONENTS.md
    • updated
    • not needed
  • Schema
    • updated
    • not needed
  • Backport tasks
    • created
    • not needed
  • Documentation
    • added
    • updated
    • not needed
  • Feature has automated tests
  • Automated tests passed (QA pipelines)
    • apply
    • upgrade
    • backup/restore
  • Idempotency tested
  • All conversations in PR resolved
  • Solution meets requirements and is done according to design doc
  • Usage compliant with license
@to-bar to-bar changed the title Use 'tarball' format insted of legacy for downloading Docker images Use tarball format insted of legacy for downloading Docker images Jul 27, 2022
@cicharka cicharka self-assigned this Aug 8, 2022
@seriva seriva assigned sbbroot and unassigned cicharka Aug 25, 2022
@przemyslavic przemyslavic self-assigned this Sep 6, 2022
@seriva seriva closed this as completed Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants