[Container-tools] Single node kube setup in ADB Vagrant box

Brian Exelbierd (bex) bex at pobox.com
Sat Nov 21 20:08:18 UTC 2015


> On Nov 16, 2015, at 9:20 PM, Langdon White <langdon at redhat.com> wrote:
> 
> 
> 
> On 11/16/2015 07:37 AM, Lalatendu Mohanty wrote:
>> 
>> Running OpenShift and Kubernetes single node setup simultaneously in a Vagrant box is really difficult and I don't think there is much value running both at the same time. So we have remove the single node setup from the ADB vagrant box making it neutral for OpenShift and k8s.
>> 
>> This means the ADB Vagrnat box will have the k8s packages but the services will not be started and setup by-default.
>> 
>> Now there are two questions.
>> 
>> 1. How to run OpenShift in the Vagrant box? We are working on that one. Most likely it would need a custom Vagrantfile. Also the OpenShift container will exist in the Vagrantbox.
>> 
>> 2. How to provide single node k8s setup if an user needs it? For that we have come up with the script [1] . We are planning to put the script as a RPM and include in the Vagrantbox.
>> 
> 
> Why wouldn't this just be another vagrantfile? e.g.
> 
> User, if you would like to run openshift on the v-box, use this vagrantfile; If you want to run k8s, use this one.

I wonder if it isn't cleaner for the users to minimize what is in the Vagrantfile and to have a set of setup scripts that changes what starts in the box (or a flag in the vagrantfile).  This would seem to eliminate a configuration step ...

regards,

bex


> 
> I wonder if it is confusing to have two different models.
> 
> langdon
> 
>> 
>> If you have a better idea with respect to the single k8s setup [1] (may be a better name), let us know.
>> 
>> [1] https://github.com/LalatenduMohanty/k8s-setup
>> 
>> Thanks,
>> Lala
>> 
>> _______________________________________________
>> Container-tools mailing list
>> Container-tools at redhat.com
>> https://www.redhat.com/mailman/listinfo/container-tools
> 
> _______________________________________________
> 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