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

Added Docker caching support for CoreOS-based cluster. #4378

Closed
wants to merge 1 commit into from

Conversation

pires
Copy link
Contributor

@pires pires commented Feb 12, 2015

This is meant primarily to speed-up Docker images (re)download across a Kubernetes cluster that sits on top of CoreOS nodes.

In the future, this can trivially evolve to a combo of private registry and mirror of public registry.

docker-registry will run on master node with mirroring configured. Minions will run docker with mirror set to the registry running in the master.

@pires
Copy link
Contributor Author

pires commented Feb 12, 2015

@thockin next step would be to get the same behavior in the "official way to bootstrap a cluster". Pointers where I should look at?

@brendandburns
Copy link
Contributor

This seems reasonable for CoreOS clusters. We already install a cache for GCE based clusters. We can use that as a model for other cloud providers.

@derekwaynecarr
Copy link
Member

I would be interested in the same support being an optional add-on for salt based environments.

@pires
Copy link
Contributor Author

pires commented Feb 13, 2015

@brendanburns @derekwaynecarr yes, I'd like to add this as an optional add-on for salted clusters. Some pointers would be great :-)

@erictune
Copy link
Member

erictune commented Mar 4, 2015

@thockin are you the best person to assign this to?

@AntonioMeireles
Copy link
Contributor

an update to this PR can be seen in #5254. (basically it comes from AntonioMeireles/kubernetes-vagrant-coreos-cluster)

AntonioMeireles added a commit to AntonioMeireles/kubernetes that referenced this pull request Mar 13, 2015
    a more idiomatic take on kubernetes#4378. as a bonus, and to be nice on
    resources, an ultra lightweight docker-registry container is
    consumed.

Signed-off-by: António Meireles <antonio.meireles@reformi.st>
rootfs pushed a commit to rootfs/kubernetes that referenced this pull request Mar 13, 2015
    a more idiomatic take on kubernetes#4378. as a bonus, and to be nice on
    resources, an ultra lightweight docker-registry container is
    consumed.

Signed-off-by: António Meireles <antonio.meireles@reformi.st>
@bgrant0607
Copy link
Member

#5254 was merged. Closing.

@bgrant0607 bgrant0607 closed this Mar 13, 2015
akram pushed a commit to akram/kubernetes that referenced this pull request Apr 7, 2015
    a more idiomatic take on kubernetes#4378. as a bonus, and to be nice on
    resources, an ultra lightweight docker-registry container is
    consumed.

Signed-off-by: António Meireles <antonio.meireles@reformi.st>
@pires pires deleted the add_docker_cache_to_coreos branch September 5, 2016 18:05
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

Successfully merging this pull request may close these issues.

7 participants