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

Aaron Weitekamp aweiteka at redhat.com
Thu May 21 12:35:04 UTC 2015


----- Original Message -----
> 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).

We currently have a centos-based vagrant box setup for kubernetes and docker with atomic CLI.
https://atlas.hashicorp.com/atomicapp/boxes/dev

> 
> James has some Oh My Vagrant instructions at
> https://ttboj.wordpress.com/2015/05/02/kubernetes-clusters-with-oh-my-vagrant/

What don't you like about oh-my-vagrant? I think it has a lot of potential but we need some feedback on what needs to change. From my use there is a lot functionality we need but the UX is unexpected. Not sure how to make it work.

> 
> 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

This is nice to see. VMs/vagrant is outside the domain of nulecule but a bootstrapping SPC is really interesting.

> 
> 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