kinvolk / kube-spawn

A tool for creating multi-node Kubernetes clusters on a Linux machine using kubeadm & systemd-nspawn. Brought to you by the Kinvolk team.
https://kinvolk.io
Apache License 2.0
440 stars 41 forks source link

kube-spawn not usable without internet #247

Open alban opened 6 years ago

alban commented 6 years ago

kube-spawn is not usable without internet. It would be nice if there was a way to pre-pull the Docker images we need for testing, before running some tests without internet access.

/cc @jonboulle

dongsupark commented 6 years ago

Yes, it would be really a nice feature.

I think the first step would be to try to run kubeadm without internet connection. For that, we would need to make kube-spawn pre-pull images listed on https://kubernetes.io/docs/reference/generated/kubeadm/#running-kubeadm-without-an-internet-connection. I haven't tried it yet.

After doing that, it's another question, whether it's possible to run pods for the general purpose, like running microservices-demo. At the moment the demo seems to heavily rely on downloading additional images.