kubernetes-vagrant-coreos-cluster icon indicating copy to clipboard operation
kubernetes-vagrant-coreos-cluster copied to clipboard

Using local copy of k8s and coreos

Open pedrocassalpacheco opened this issue 7 years ago • 4 comments

Hi @pires,

Continue to love your project. I spend a lot of times on airplanes so I can't always re-start the cluster. Can I create the cluster from local copies of k8 and coreos?

Thanks,

Pedro

pedrocassalpacheco avatar Jun 05 '17 19:06 pedrocassalpacheco

Yes. Just make sure to run this before you board on a plane.

pires avatar Jun 05 '17 19:06 pires

Maybe I didn't ask the right question:

I see this on the logs: ==> master: Importing base box 'coreos-alpha'... and I also see this: ==> master: Setting Kubernetes version 1.6.4

Not knowing much (or anything) about vagrant, it isn't clear to me how I can use Vagrant to use a cached copy of k8 and coreos rather than get it via curl every time I need a dev cluster.

Thanks,

P

pedrocassalpacheco avatar Jun 05 '17 19:06 pedrocassalpacheco

the Kubernetes version, if you don't change it, is stored in artifacts as a compressed container image. CoreOS machines are stored on ~/.vagrant.d/boxes.

pires avatar Jun 05 '17 20:06 pires

Thanks. Even if I do vagrant destroy the files are preserved?

pedrocassalpacheco avatar Jun 05 '17 20:06 pedrocassalpacheco