<div dir="ltr">Thanks Galder for this finding!<div><br></div><div>Just a small comment on things which are not obvious - Ray created his own custom autoscaler implementation. Both OpenShift and Kubernetes have support for so called Custom Metrics [1][2] which you can use for autoscaling. </div><div><br></div><div>However, trying to scale based on the memory consumption is a tricky business [3][4]. I&#39;ve been talking with Andrew about this and he says that settings `-Xms` to some low value and `-Xmx` reasonably high might do the trick. When you add a node to the cluster (assuming only DIST caches) the total amount of used memory in the Pods will (possibly) drop after some time. This however might not work for CMS GC. </div><div><br></div><div>Anyway - those are the things which are on my plate for this and next week. Once I have some results I would be glad to share them with you. </div><div><br></div><div>And as always - any help with this would be highly appreciated.</div><div><br></div><div>Thanks</div><div>Sebastian</div><div><br></div><div>[1] <a href="https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/custom-metrics.md">https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/custom-metrics.md</a></div><div>[2] <a href="https://github.com/openshift/origin-metrics">https://github.com/openshift/origin-metrics</a></div><div>[3] <a href="https://developerblog.redhat.com/2014/07/15/dude-wheres-my-paas-memory-tuning-javas-footprint-in-openshift-part-1/">https://developerblog.redhat.com/2014/07/15/dude-wheres-my-paas-memory-tuning-javas-footprint-in-openshift-part-1/</a></div><div>[4] <a href="https://developerblog.redhat.com/2014/07/22/dude-wheres-my-paas-memory-tuning-javas-footprint-in-openshift-part-2/">https://developerblog.redhat.com/2014/07/22/dude-wheres-my-paas-memory-tuning-javas-footprint-in-openshift-part-2/</a></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 3, 2016 at 9:49 AM, Galder Zamarreño <span dir="ltr">&lt;<a href="mailto:galder@redhat.com" target="_blank">galder@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
More amazing videos coming out of DevNation 2016, this time with the amazing Ray Tsang showing how to auto-scale Infinispan with Kubernetes:<br>
<a href="http://developers.redhat.com/video/youtube/E4ACZ6_WDyo/" rel="noreferrer" target="_blank">http://developers.redhat.com/video/youtube/E4ACZ6_WDyo/</a><br>
<br>
Enjoy!<br>
--<br>
Galder Zamarreño<br>
Infinispan, Red Hat<br>
<br>
<br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a></blockquote></div><br></div>