Re: [infinispan-dev] Infinispan and OpenShift/Kubernetes PetSets

2016-08-24 Thread Sebastian Laskawiec
quot; , "Rob Cernich" < > rcern...@redhat.com> > *Sent: *Friday, August 19, 2016 5:00:12 AM > *Subject: *[infinispan-dev] Infinispan and OpenShift/Kubernetes PetSets > > > Hey! > > I've been playing with Kubernetes PetSets [1] for a while and I'd like to

Re: [infinispan-dev] Infinispan and OpenShift/Kubernetes PetSets

2016-08-24 Thread Sebastian Laskawiec
Thanks Rob! That clarifies a lot! On Mon, Aug 22, 2016 at 4:02 PM, Rob Cernich wrote: > > > -- > > Hey Rob! > > Thanks a lot for clarification! > > More comments inlined. > > Thanks > Sebastian > > On Sat, Aug 20, 2016 at 12:04 AM, Rob Cernich wrote: > >> A couple of

Re: [infinispan-dev] Infinispan and OpenShift/Kubernetes PetSets

2016-08-22 Thread Alan Field
t" , "Bela Ban" > , "Kevin Conner" , "Rob Cernich" > > Sent: Friday, August 19, 2016 5:00:12 AM > Subject: [infinispan-dev] Infinispan and OpenShift/Kubernetes PetSets > Hey! > I've been playing with Kubernetes PetSets [1] for a while

Re: [infinispan-dev] Infinispan and OpenShift/Kubernetes PetSets

2016-08-21 Thread Sebastian Laskawiec
Hey Kevin! The timing for looking into PetSets is perfect I think. Kubernetes upstream folks are thinking about Sticky IPs [16] (which are not essential for Infinispan but other projects might be really interested in this) and I asked some time ago about exposing PetSets to the outside world [17]

Re: [infinispan-dev] Infinispan and OpenShift/Kubernetes PetSets

2016-08-21 Thread Sebastian Laskawiec
+1, I think using multiple discovery protocols could be a good idea. I think it makes sense to use KUBE_PING and DNS together. The same configuration could have been used for both PetSets (which use DNS) and normal Kubernetes/OpenShift deployments (which use KUBE_PING). But that is something that

Re: [infinispan-dev] Infinispan and OpenShift/Kubernetes PetSets

2016-08-21 Thread Sebastian Laskawiec
Hey Rob! Thanks a lot for clarification! More comments inlined. Thanks Sebastian On Sat, Aug 20, 2016 at 12:04 AM, Rob Cernich wrote: > A couple of things... > > re. volumes: > We also need to consider the mounting behavior for scale down scenarios > and for overage scenarios when doing upgra

Re: [infinispan-dev] Infinispan and OpenShift/Kubernetes PetSets

2016-08-20 Thread Bela Ban
If we add a DNS discovery protocol, it would only be another discovery protocol among many, and customers can choose which one to use. I'm also thinking of adding the ability to JGroups to use multiple discovery protocols in the same stack and combine their result sets into one. Not sure though

Re: [infinispan-dev] Infinispan and OpenShift/Kubernetes PetSets

2016-08-19 Thread Bela Ban
On 19/08/16 11:27, Gustavo Fernandes wrote: > On Fri, Aug 19, 2016 at 10:18 AM, Bela Ban > wrote: > > Hi Sebastian > > the usual restrictions apply: if DNS discovery depends on external libs, > then it should be hosted in jgroups-extras, otherwise we can add i

Re: [infinispan-dev] Infinispan and OpenShift/Kubernetes PetSets

2016-08-19 Thread Gustavo Fernandes
On Fri, Aug 19, 2016 at 10:18 AM, Bela Ban wrote: > Hi Sebastian > > the usual restrictions apply: if DNS discovery depends on external libs, > then it should be hosted in jgroups-extras, otherwise we can add it to > JGroups itself. > Bela, you forgot to mention an extra restriction: even if it

Re: [infinispan-dev] Infinispan and OpenShift/Kubernetes PetSets

2016-08-19 Thread Sebastian Laskawiec
Hey Bela! No no, the resolution can be done with pure JDK. Thanks Sebastian On Fri, Aug 19, 2016 at 11:18 AM, Bela Ban wrote: > Hi Sebastian > > the usual restrictions apply: if DNS discovery depends on external libs, > then it should be hosted in jgroups-extras, otherwise we can add it to > J

Re: [infinispan-dev] Infinispan and OpenShift/Kubernetes PetSets

2016-08-19 Thread Bela Ban
Hi Sebastian the usual restrictions apply: if DNS discovery depends on external libs, then it should be hosted in jgroups-extras, otherwise we can add it to JGroups itself. On 19/08/16 11:00, Sebastian Laskawiec wrote: > Hey! > > I've been playing with Kubernetes PetSets [1] for a while and I'd

[infinispan-dev] Infinispan and OpenShift/Kubernetes PetSets

2016-08-19 Thread Sebastian Laskawiec
Hey! I've been playing with Kubernetes PetSets [1] for a while and I'd like to share some thoughts. Before I dig in, let me give you some PetSets highlights: - PetSets are alpha resources for managing stateful apps in Kubernetes 1.3 (and OpenShift Origin 1.3). - Since this is an alpha re