On Thu, Sep 7, 2017 at 1:53 AM, Pri <[email protected]> wrote:
> Hi Erik, > > Apologies for late response. I would like to know what happens to gluster > storage in both cases. > > 1) scale up or down the gluster pods > Gluster is deployed using a daemonset, so you can't just "scale up" the pods. You would need to add nodes to the cluster and then give them the appropriate labels. Then you would get more gluster pods. But they are not yet part of the storage pool, so you would have to perform heketi-cli / topology commands/changes to get them in. It's not as trivial as scale++ and magic happens, yet. 2) scale up or down the app pods which are using gluster as persistent > volume. > It depends on the PV/PVC definition. If you have an RWX PV/PVC then scaling up would result in the new instance getting attached to the same volume, similar to how NFS behaves. If the volume is RWO, then you cannot scale the app. I'm assuming that whatever your claim is (RWX/RWO) is what you would end up getting if you are using dynamic provisioning. > Thanks a lot again! > > Thanks, > Pri > > On Wed, Aug 16, 2017 at 5:44 AM, Erik Jacobs <[email protected]> wrote: > >> Hi Pri, >> >> Are you asking about what happens when you scale up the Gluster pods, or >> the app pods? >> >> --- >> >> ERIK JACOBS >> >> PRINCIPAL TECHNICAL MARKETING MANAGER, OPENSHIFT >> >> Red Hat Inc <https://www.redhat.com/> >> >> [email protected] M: 646.462.3745 @: erikonopen >> <https://red.ht/sig> >> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> >> >> On Fri, Aug 4, 2017 at 10:59 AM, Pri <[email protected]> >> wrote: >> >>> Hi, >>> >>> I am using glusterfs (container native storage) on OCP 3.5. I have one >>> doubt, what happens to the storage when we scale up the pods (replicas=5) , >>> will all the pods persist data on same storage? >>> >>> Would be great if someone can help me understand this. >>> >>> Thanks in advance. >>> Pri >>> >>> _______________________________________________ >>> dev mailing list >>> [email protected] >>> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev >>> >>> >> >
_______________________________________________ dev mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
