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

Add possibility to use host docker registry #12087

Closed
afbjorklund opened this issue Aug 1, 2021 · 3 comments
Closed

Add possibility to use host docker registry #12087

afbjorklund opened this issue Aug 1, 2021 · 3 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. priority/backlog Higher priority than priority/awaiting-more-evidence.

Comments

@afbjorklund
Copy link
Collaborator

afbjorklund commented Aug 1, 2021

A lot of the startup time is transferring and unpacking the container images.

Either from the cache or from the preload, to be copied from host to the node.

It would be useful to be able to pull these from a registry running on the host...
https://docs.docker.com/registry/recipes/mirror/#run-a-registry-as-a-pull-through-cache

Such a registry server would also be an alternative instead of minikube image

host-registry

The canonical server is docker distribution (registry v2): https://docs.docker.com/registry/

It is now in CNCF: https://www.docker.com/blog/donating-docker-distribution-to-the-cncf/


This would also allow for future optimizations, such as lazy pulling with stargz:

"Startup Containers in Lightning Speed with Lazy Image Distribution on Containerd"

By providing optimized images, it would allow the k8s cluster to start up faster.

The same goes for the apps, when their images stay resident in host memory.

@afbjorklund afbjorklund added the kind/feature Categorizes issue or PR as related to a new feature. label Aug 1, 2021
@spowelljr spowelljr added the priority/backlog Higher priority than priority/awaiting-more-evidence. label Aug 2, 2021
@afbjorklund
Copy link
Collaborator Author

@afbjorklund afbjorklund changed the title MEP: Add possibility to use host docker registry Add possibility to use host docker registry Aug 9, 2021
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 7, 2021
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

No branches or pull requests

4 participants