[Container-tools] Recommendations for bootstrapping a local k8s cluster?

Jason Brooks jbrooks at redhat.com
Thu May 21 18:06:17 UTC 2015



----- Original Message -----
> From: "Nick Coghlan" <ncoghlan at gmail.com>
> To: "container-tools" <container-tools at redhat.com>
> Sent: Wednesday, May 20, 2015 10:34:03 PM
> Subject: [Container-tools] Recommendations for bootstrapping a local k8s	cluster?
> 
> Following on from my initial experimentation with helloapache, it
> quickly became clear to me that a local k8s cluster is going to be
> essential for any serious exploration of nulecule's capabilities (with
> my main aim being to see how much of
> https://beaker-project.org/docs-develop/in-a-box/ nulecule can already
> handle, and what would be needed to get it the rest of the way).

That single-node vagrant box mentioned elsewhere in the thread is pretty
easy. I think my favorite, currently, is:

https://github.com/eparis/kubernetes-ansible

You can point it at Fedora or CentOS or atomic hosts and it pretty much
just works.

Jason



> 
> James has some Oh My Vagrant instructions at
> https://ttboj.wordpress.com/2015/05/02/kubernetes-clusters-with-oh-my-vagrant/
> 
> k8s upstream has some Vagrant based instructions at
> https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/vagrant.md
> 
> Neither of those seem particularly appealing, so if there's a way to
> make it work I'd like something along the lines of:
> 
>     # dnf install atomic vagrant vagrant-libvirt
>     # systemctl start docker.service
>     # atomic run projectatomic/bootstrap_k8s
> 
> And end up with 3 local VMs running Fedora-or-CentOS Atomic Host
> 
> If this sounds like a potentially viable approach to bootstrapping, I
> *am* offering to write it (Beaker-in-a-box does something a bit like
> this already, and doing it in a privileged container means I can
> potentially reuse Beaker's Ansible scripts without making it a
> requirement to install that locally).
> 
> Cheers,
> Nick.
> 
> --
> Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
> 
> _______________________________________________
> Container-tools mailing list
> Container-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/container-tools
> 




More information about the Container-tools mailing list