<div dir="ltr">Cool, thanks Ton!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 19, 2015 at 7:07 AM, Ton Ngo <span dir="ltr"><<a href="mailto:ton@us.ibm.com" target="_blank">ton@us.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><p>The slides for the Tokyo talk is available on slideshare:<br><a href="http://www.slideshare.net/huengo965921/exploring-magnum-and-senlin-integration-for-autoscaling-containers" target="_blank">http://www.slideshare.net/huengo965921/exploring-magnum-and-senlin-integration-for-autoscaling-containers</a><br><br>Ton,<br><br><br><img src="cid:1__=07BBF592DFED58688f9e8a93df938690918c07B@" alt="Inactive hide details for Jay Lau ---11/17/2015 10:05:27 PM---It's great that we discuss this in mail list, I filed a bp here h" border="0" height="16" width="16"><font color="#424282">Jay Lau ---11/17/2015 10:05:27 PM---It's great that we discuss this in mail list, I filed a bp here <a href="https://blueprints.launchpad.net/mag" target="_blank">https://blueprints.launchpad.net/mag</a></font><br><br><font color="#5F5F5F" size="2">From:        </font><font size="2">Jay Lau <<a href="mailto:jay.lau.513@gmail.com" target="_blank">jay.lau.513@gmail.com</a>></font><span class=""><br><font color="#5F5F5F" size="2">To:        </font><font size="2">"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>></font><br></span><font color="#5F5F5F" size="2">Date:        </font><font size="2">11/17/2015 10:05 PM</font><span class=""><br><font color="#5F5F5F" size="2">Subject:        </font><font size="2">Re: [openstack-dev] [magnum] Autoscaling both clusters and        containers</font><br></span></p><hr style="color:#8091a5" align="left" noshade size="2" width="100%"><div><div class="h5"><br><br><br><font size="4">It's great that we discuss this in mail list, I filed a bp here </font><a href="https://blueprints.launchpad.net/magnum/+spec/two-level-auto-scaling" target="_blank"><u><font color="#0000FF" size="4">https://blueprints.launchpad.net/magnum/+spec/two-level-auto-scaling</font></u></a><font size="4"> and planning a spec for this. You can get some early ideas from what Ton pointed here: </font><a href="https://www.openstack.org/summit/tokyo-2015/videos/presentation/exploring-magnum-and-senlin-integration-for-autoscaling-containers" target="_blank"><u><font color="#0000FF" size="4">https://www.openstack.org/summit/tokyo-2015/videos/presentation/exploring-magnum-and-senlin-integration-for-autoscaling-containers</font></u></a><font size="4"><br></font><br><b><font size="4">@Ton</font></b><font size="4">, is it possible that we publish the slides to slideshare? ;-)</font><br><br><font size="4">Our thinking was introduce an autoscaler service to Magnum just like what GCE is doing now, will have you updated when a spec is ready for review.</font><br><br><font size="4">On Wed, Nov 18, 2015 at 1:22 PM, Egor Guz <</font><a href="mailto:EGuz@walmartlabs.com" target="_blank"><u><font color="#0000FF" size="4">EGuz@walmartlabs.com</font></u></a><font size="4">> wrote:</font><ul><font size="4">Ryan<br><br>I haven’t seen any proposals/implementations from Mesos/Swarm (but  I am not following Mesos and Swam community very close these days).<br>But Kubernetes 1.1 has pod autoscaling (</font><a href="https://github.com/kubernetes/kubernetes/blob/master/docs/design/horizontal-pod-autoscaler.md" target="_blank"><u><font color="#0000FF" size="4">https://github.com/kubernetes/kubernetes/blob/master/docs/design/horizontal-pod-autoscaler.md</font></u></a><font size="4">),<br>which should cover containers auto-scaling. Also there is PR for cluster auto-scaling (</font><a href="https://github.com/kubernetes/kubernetes/pull/15304" target="_blank"><u><font color="#0000FF" size="4">https://github.com/kubernetes/kubernetes/pull/15304</font></u></a><font size="4">), which<br>has implementation for GCE, but OpenStack support can be added as well.<br><br>—<br>Egor<br><br>From: Ton Ngo <</font><a href="mailto:ton@us.ibm.com" target="_blank"><u><font color="#0000FF" size="4">ton@us.ibm.com</font></u></a><font size="4"><mailto:</font><a href="mailto:ton@us.ibm.com" target="_blank"><u><font color="#0000FF" size="4">ton@us.ibm.com</font></u></a><font size="4">>><br>Reply-To: "OpenStack Development Mailing List (not for usage questions)" <</font><a href="mailto:openstack-dev@lists.openstack.org" target="_blank"><u><font color="#0000FF" size="4">openstack-dev@lists.openstack.org</font></u></a><font size="4"><mailto:</font><a href="mailto:openstack-dev@lists.openstack.org" target="_blank"><u><font color="#0000FF" size="4">openstack-dev@lists.openstack.org</font></u></a><font size="4">>><br>Date: Tuesday, November 17, 2015 at 16:58<br>To: "OpenStack Development Mailing List (not for usage questions)" <</font><a href="mailto:openstack-dev@lists.openstack.org" target="_blank"><u><font color="#0000FF" size="4">openstack-dev@lists.openstack.org</font></u></a><font size="4"><mailto:</font><a href="mailto:openstack-dev@lists.openstack.org" target="_blank"><u><font color="#0000FF" size="4">openstack-dev@lists.openstack.org</font></u></a><font size="4">>><br>Subject: Re: [openstack-dev] [magnum] Autoscaling both clusters and containers<br><br><br>Hi Ryan,<br>There was a talk in the last Summit on this topics to explore the options with Magnum, Senlin, Heat, Kubernetes:</font><u><font color="#0000FF" size="4"><br></font></u><a href="https://www.openstack.org/summit/tokyo-2015/videos/presentation/exploring-magnum-and-senlin-integration-for-autoscaling-containers" target="_blank"><u><font color="#0000FF" size="4">https://www.openstack.org/summit/tokyo-2015/videos/presentation/exploring-magnum-and-senlin-integration-for-autoscaling-containers</font></u></a><font size="4"><br>A demo was shown with Senlin interfacing to Magnum to autoscale.<br>There was also a Magnum design session to discuss this same topics. The use cases are similar to what you describe. Because the subject is complex, there are many moving parts, and multiple teams/projects are involved, one outcome of the design session is that we will write a spec on autoscaling containers and cluster. A patch should be coming soon, so it would be great to have your input on the spec.<br>Ton,<br><br>[Inactive hide details for Ryan Rossiter ---11/17/2015 02:05:48 PM---Hi all, I was having a discussion with a teammate with resp]Ryan Rossiter ---11/17/2015 02:05:48 PM---Hi all, I was having a discussion with a teammate with respect to container<br><br>From: Ryan Rossiter <</font><a href="mailto:rlrossit@linux.vnet.ibm.com" target="_blank"><u><font color="#0000FF" size="4">rlrossit@linux.vnet.ibm.com</font></u></a><font size="4"><mailto:</font><a href="mailto:rlrossit@linux.vnet.ibm.com" target="_blank"><u><font color="#0000FF" size="4">rlrossit@linux.vnet.ibm.com</font></u></a><font size="4">>><br>To: </font><a href="mailto:openstack-dev@lists.openstack.org" target="_blank"><u><font color="#0000FF" size="4">openstack-dev@lists.openstack.org</font></u></a><font size="4"><mailto:</font><a href="mailto:openstack-dev@lists.openstack.org" target="_blank"><u><font color="#0000FF" size="4">openstack-dev@lists.openstack.org</font></u></a><font size="4">></font><br><font size="4">Date: 11/17/2015 02:05 PM<br>Subject: [openstack-dev] [magnum] Autoscaling both clusters and containers<br><br>________________________________<br><br><br><br>Hi all,<br><br>I was having a discussion with a teammate with respect to container<br>scaling. He likes the aspect of nova-docker that allows you to scale<br>(essentially) infinitely almost instantly, assuming you are using a<br>large pool of compute hosts. In the case of Magnum, if I'm a container<br>user, I don't want to be paying for a ton of vms that just sit idle, but<br>I also want to have enough vms to handle my scale when I infrequently<br>need it. But above all, when I need scale, I don't want to suddenly have<br>to go boot vms and wait for them to start up when I really need it.<br><br>I saw [1] which discusses container scaling, but I'm thinking we can<br>take this one step further. If I don't want to pay for a lot of vms when<br>I'm not using them, could I set up an autoscale policy that allows my<br>cluster to expand when my container concentration gets too high on my<br>existing cluster? It's kind of a case of nested autoscaling. The<br>containers are scaled based on request demand, and the cluster vms are<br>scaled based on container count.<br><br>I'm unsure of the details of Senlin, but at least looking at Heat<br>autoscaling [2], this would not be very hard to add to the Magnum<br>templates, and we would forward those on through the bay API. (I figure<br>we would do this through the bay, not baymodel, because I can see<br>similar clusters that would want to be scaled differently).<br><br>Let me know if I'm totally crazy or if this is a good idea (or if you<br>guys have already talked about this before). I would be interested in<br>your feedback.<br><br>[1]</font><u><font color="#0000FF" size="4"><br></font></u><a href="http://lists.openstack.org/pipermail/openstack-dev/2015-November/078628.html" target="_blank"><u><font color="#0000FF" size="4">http://lists.openstack.org/pipermail/openstack-dev/2015-November/078628.html</font></u></a><font size="4"><br>[2] </font><a href="https://wiki.openstack.org/wiki/Heat/AutoScaling#AutoScaling_API" target="_blank"><u><font color="#0000FF" size="4">https://wiki.openstack.org/wiki/Heat/AutoScaling#AutoScaling_API</font></u></a><font size="4"><br><br>--<br>Thanks,<br><br>Ryan Rossiter (rlrossit)<br><br><br>__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)</font><br><font size="4">Unsubscribe: </font><a href="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank"><u><font color="#0000FF" size="4">OpenStack-dev-request@lists.openstack.org</font></u></a><font size="4"><mailto:</font><a href="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank"><u><font color="#0000FF" size="4">OpenStack-dev-request@lists.openstack.org</font></u></a><font size="4">>?subject:unsubscribe</font><u><font color="#0000FF" size="4"><br></font></u><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank"><u><font color="#0000FF" size="4">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</font></u></a><font size="4"><br><br><br><br><br>__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: </font><a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank"><u><font color="#0000FF" size="4">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</font></u></a><u><font color="#0000FF" size="4"><br></font></u><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank"><u><font color="#0000FF" size="4">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</font></u></a><font size="4"><br></font></ul><font size="4"><br><br><br>-- </font><br><font size="4">Thanks,<br></font><br></div></div><font size="4">Jay Lau (Guangya Liu)</font><tt>__________________________________________________________________________<span class=""><br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br></span></tt><tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></tt><tt><br></tt><br><br>
<p></p></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Thanks,<br><br></div>Jay Lau (Guangya Liu)<br></div></div></div></div>
</div>