Re: Openshift Origin Ansible Install (change where /var/lib/origin goes)?

2016-05-17 Thread Scott Dodson
Setting openshift_data_dir will alter this path and many others. You
should set this before installing your node and this isn't something
that we've tested thoroughly.

There's also support for emptydir quotas per project, see
https://docs.openshift.org/latest/install_config/master_node_configuration.html#node-configuration-files
see annotation #4. This will limit the amount of storage each project
can allocate on emptydir in order to push your applications towards
using proper persistent volumes.

On Tue, May 17, 2016 at 1:09 AM, Dean Peterson  wrote:
> When I installed Openshift Origin I first installed Docker and ran
> "docker-storage-setup" to make docker use a dedicated lvm volume group I
> created (4TB).  However, Openshift Origin seems to be storing everything on
> my root partition (rhel-root) that only has 50GB!
>
>
> To find this out I discovered a handy command: du -hx --max-depth=1 /
>
> That command lists all folders one level deep and shows how much space each
> folder is using.  That way, I could follow the storage gobblers all the way
> down to /var/lib../origin/kubernetes.io~empty-dir.
>
>
> I don't dare try to merge volume groups or modify the root partition.  I
> guess it is time to install Openshift Origin on another machine.  Is there a
> way to control where /var/lib/origin/kubernetes.io~empty-dir is stored
> using the Ansible advanced installation option?
>
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>

___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Openshift Origin Ansible Install (change where /var/lib/origin goes)?

2016-05-17 Thread Dean Peterson
Thank you for the info.  You know, what you said about using proper
persistent volumes rang a bell.  I never set up permanent  persistent
volume storage for the openshift private registry.  That is why my images
are going in there.  Thanks!
On May 17, 2016 1:31 PM, "Scott Dodson"  wrote:

> Setting openshift_data_dir will alter this path and many others. You
> should set this before installing your node and this isn't something
> that we've tested thoroughly.
>
> There's also support for emptydir quotas per project, see
>
> https://docs.openshift.org/latest/install_config/master_node_configuration.html#node-configuration-files
> see annotation #4. This will limit the amount of storage each project
> can allocate on emptydir in order to push your applications towards
> using proper persistent volumes.
>
> On Tue, May 17, 2016 at 1:09 AM, Dean Peterson 
> wrote:
> > When I installed Openshift Origin I first installed Docker and ran
> > "docker-storage-setup" to make docker use a dedicated lvm volume group I
> > created (4TB).  However, Openshift Origin seems to be storing everything
> on
> > my root partition (rhel-root) that only has 50GB!
> >
> >
> > To find this out I discovered a handy command: du -hx --max-depth=1 /
> >
> > That command lists all folders one level deep and shows how much space
> each
> > folder is using.  That way, I could follow the storage gobblers all the
> way
> > down to /var/lib../origin/kubernetes.io~empty-dir.
> >
> >
> > I don't dare try to merge volume groups or modify the root partition.  I
> > guess it is time to install Openshift Origin on another machine.  Is
> there a
> > way to control where /var/lib/origin/kubernetes.io~empty-dir is
> stored
> > using the Ansible advanced installation option?
> >
> >
> > ___
> > users mailing list
> > users@lists.openshift.redhat.com
> > http://lists.openshift.redhat.com/openshiftmm/listinfo/users
> >
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Openshift Origin Ansible Install (change where /var/lib/origin goes)?

2016-05-16 Thread Dean Peterson
When I installed Openshift Origin I first installed Docker and ran
"docker-storage-setup" to make docker use a dedicated lvm volume group I
created (4TB).  However, Openshift Origin seems to be storing everything on
my root partition (rhel-root) that only has 50GB!


To find this out I discovered a handy command: *du -hx --max-depth=1 /*

That command lists all folders one level deep and shows how much space each
folder is using.  That way, I could follow the storage gobblers all the way
down to /var/lib../origin/kubernetes.io~empty-dir.


I don't dare try to merge volume groups or modify the root partition.  I
guess it is time to install Openshift Origin on another machine.  Is there
a way to control where /var/lib/origin/kubernetes.io~empty-dir is
stored using the Ansible advanced installation option?
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users