You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Akila Ravihansa Perera <ra...@wso2.com> on 2015/07/17 15:39:42 UTC

Improved Kubernetes Vagrant setup (offline file download)

Hi,

I modified Kubernetes Vagrant setup to support downloading Kubernetes and
other files from a local web server instead of downloading via Internet
every time which is time consuming. All changes are pushed to GitHub repo
at [1]. You need to start a web server in your local machine and set the IP
address in 'runme.sh' script. Update and run 'runme.sh' script.

But still there are some Docker images being pulled into those nodes which
requires an Internet connection. Following Docker images are downloaded;

quay.io/devops/docker-registry:latest ~ 22MB
quay.io/coreos/flannel:0.5.1 ~ 7MB

I was able to setup a 3 node Kubernetes cluster (1 master, 2 minions) just
under 7 mins

I wrote a blog post [2] explaining how to use this.

[1] https://github.com/ravihansa3000/kubernetes-vagrant-setup
[2] http://blog.ravihansa3000.com/2015/07/kubernetes-using-vagrant.html

I'll try to push this upstream.

Thanks.

-- 
Akila Ravihansa Perera
Software Engineer, WSO2

Blog: http://ravihansa3000.blogspot.com

Re: Improved Kubernetes Vagrant setup (offline file download)

Posted by Imesh Gunaratne <im...@apache.org>.
Great work Akila!! This really saves time!!

On Fri, Jul 17, 2015 at 9:39 PM, Akila Ravihansa Perera <ra...@wso2.com>
wrote:

> Hi,
>
> I modified Kubernetes Vagrant setup to support downloading Kubernetes and
> other files from a local web server instead of downloading via Internet
> every time which is time consuming. All changes are pushed to GitHub repo
> at [1]. You need to start a web server in your local machine and set the IP
> address in 'runme.sh' script. Update and run 'runme.sh' script.
>
> But still there are some Docker images being pulled into those nodes which
> requires an Internet connection. Following Docker images are downloaded;
>
> quay.io/devops/docker-registry:latest ~ 22MB
> quay.io/coreos/flannel:0.5.1 ~ 7MB
>
> I was able to setup a 3 node Kubernetes cluster (1 master, 2 minions) just
> under 7 mins
>
> I wrote a blog post [2] explaining how to use this.
>
> [1] https://github.com/ravihansa3000/kubernetes-vagrant-setup
> [2] http://blog.ravihansa3000.com/2015/07/kubernetes-using-vagrant.html
>
> I'll try to push this upstream.
>
> Thanks.
>
> --
> Akila Ravihansa Perera
> Software Engineer, WSO2
>
> Blog: http://ravihansa3000.blogspot.com
>



-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos