These days I have a low bandwidth connection, so each bit I could save saves time! This is especially true for the Vagrant based stuff I do at the moment: I rebuild base boxes from time to time, and I install lots of additional software into that boxes. To save a few bits on the wire I would like to put more software into the Vagrant base box so that it must not be installed in during Vagrant provision phase. Using the vagrant-builder enables us to do that easily. If you take a look around line 214 of the Makefile, you will see that vagrant-builder installes all additional packages listed in the variable PACKAGES. PACKAGES could be configured on line 65 of the Makefile by simply putting something in like “
sosreport telnet“. After that, just rebuild your Vagrant base box and save time!
James, you have done very well! Thanks for this very deep and complete article on how to build my own Vagrant base box using Red Hat Enterprise Linux…
Docker should be known by everyone: it provides containers on Linux hosts, separating different aspects of the operating system for a set of processes, what these processes are could be described by the docker container format. If you run a set of containers on different hosts, you may want to have network connectivity between these containers. And that is were flannel jumps in by providing an overlay network that connects containers across hosts.
As we love Vagrant I used it for providing some virtual machines running RHEL7 to me, these machine will be docker hosts and networking on these hosts will be managed by flannel. As a dependency etc is installed (and some other stuff). One VM will be the kubernetes master and additional n hosts will be minions.
For a details overview of the installation see a blog post by on of my colleagues: Flannel and Docker on Fedora – Getting Started
What I added to this basic installation is a Vagrant powered environment and an automated installation procedure driven by Ansible. What it will be in a few weeks: an infrastructure to install OpenShift Origin 3 on CentOS. This will rapidly set up an development environment for you ;)
To set up an environment by yourself try the following steps.
git clone https://github.com/goern/openshift-el.git cd openshift-el vagrant up vagrant ssh master