<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
+1,<br>
Looking forward for reviewing this cool feature.<br>
<br>
<div class="moz-cite-prefix">On 2016年04月21日 14:57, Kai Qiang Wu
wrote:<br>
</div>
<blockquote
cite="mid:201604210658.u3L6wCEt005866@d23av04.au.ibm.com"
type="cite">
<p>Hi Duan Li, <br>
<br>
We welcome to that contribution if you had. Just make sure that
spec can be flexible handle 2 ~ N flavor cases. That could
handle future requirements for N flavors, as in the ML, I found
some ops had such requirements.<br>
<br>
<br>
<br>
Thanks<br>
<br>
Best Wishes,<br>
--------------------------------------------------------------------------------<br>
Kai Qiang Wu (吴开强 Kennan)<br>
IBM China System and Technology Lab, Beijing<br>
<br>
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:wkqwu@cn.ibm.com">wkqwu@cn.ibm.com</a><br>
Tel: 86-10-82451647<br>
Address: Building 28(Ring Building), ZhongGuanCun Software Park,
<br>
No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China
100193<br>
--------------------------------------------------------------------------------<br>
Follow your heart. You are miracle! <br>
<br>
<img src="cid:part1.05050905.04090700@gmail.com" alt="Inactive
hide details for "Duan, Li-Gong (Gary,
HPServers-Core-OE-PSC)" ---21/04/2016 02:31:46 pm---Hi
Eli, This is exactly wha" border="0" height="16" width="16"><font
color="#424282">"Duan, Li-Gong (Gary, HPServers-Core-OE-PSC)"
---21/04/2016 02:31:46 pm---Hi Eli, This is exactly what I
want. If you guys think this requirement is reasonable, I’d
like to c</font><br>
<br>
<font color="#5F5F5F" size="2">From: </font><font size="2">"Duan,
Li-Gong (Gary, HPServers-Core-OE-PSC)"
<a class="moz-txt-link-rfc2396E" href="mailto:li-gong.duan@hpe.com"><li-gong.duan@hpe.com></a></font><br>
<font color="#5F5F5F" size="2">To: </font><font size="2">"OpenStack
Development Mailing List (not for usage questions)"
<a class="moz-txt-link-rfc2396E" href="mailto:openstack-dev@lists.openstack.org"><openstack-dev@lists.openstack.org></a></font><br>
<font color="#5F5F5F" size="2">Date: </font><font size="2">21/04/2016
02:31 pm</font><br>
<font color="#5F5F5F" size="2">Subject: </font><font size="2">Re:
[openstack-dev] [Magnum] Magnum supports 2 Nova flavor to
provision minion nodes</font><br>
</p>
<hr style="color:#8091A5; " noshade="noshade" size="2"
width="100%" align="left"><br>
<br>
<br>
<font color="#1F497D" face="Calibri">Hi Eli,</font><br>
<font color="#1F497D" face="Calibri"> </font><br>
<font color="#1F497D" face="Calibri">This is exactly what I want.
If you guys think this requirement is reasonable, I’d like to
commit a design spec so that we could discuss it in details.</font><br>
<font color="#1F497D" face="Calibri"> </font><br>
<font color="#1F497D" face="Calibri">Regards,</font><br>
<font color="#1F497D" face="Calibri">Gary Duan</font><br>
<font color="#1F497D" face="Calibri"> </font><br>
<b><font face="Calibri">From:</font></b><font face="Calibri"> Eli
Qiao [</font><font face="Calibri"><a moz-do-not-send="true"
href="mailto:liyong.qiao@intel.com">mailto:liyong.qiao@intel.com</a></font><font
face="Calibri">] </font><b><font face="Calibri"><br>
Sent:</font></b><font face="Calibri"> Wednesday, April 20,
2016 5:08 PM</font><b><font face="Calibri"><br>
To:</font></b><font face="Calibri">
<a class="moz-txt-link-abbreviated" href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a></font><b><font face="Calibri"><br>
Subject:</font></b><font face="Calibri"> Re: [openstack-dev]
[Magnum] Magnum supports 2 Nova flavor to provision minion nodes</font><br>
<font face="Times New Roman" size="4"> </font><br>
<font face="Times New Roman" size="4"><br>
Kannan,<br>
<br>
I think Duan Li is talking about using both 2 kinds of </font><font
face="Calibri" size="4">(secure-booted and non-secure-booted)
node deploy *minion* node.<br>
<br>
The scenario may like this:<br>
let say 2 flavors:</font>
<ul>
<ul type="disc">
<li><font face="Calibri" size="4">flavor_secure</font></li>
<li><font face="Calibri" size="4">flavor_none_secure</font></li>
</ul>
</ul>
<font face="Calibri" size="4">For now, flavor-id in baymodel can
only be set as one value, Duan Li's requirement is to using
flavor-id = [flavor_none_secure, flavor_secure]<br>
and provision one cluster which minion nodes are build from 2
types of flavor, then after cluster(bay ) provision finished ,
passing lable to<br>
let k8s cluster to chose a minion node to start pod on that
specific node.<br>
<br>
<br>
For now, Magnum doesn't support it yet, I think it good to have
it, but the implementation may be differnece per COE since after
we<br>
provision bay, the scheduler work are done by k8s/swarm/mesos.<br>
<br>
Eli.<br>
</font><br>
<font face="Times New Roman" size="4">On 2016</font><font
face="宋体" size="4">年</font><font face="Times New Roman" size="4">04</font><font
face="宋体" size="4">月</font><font face="Times New Roman" size="4">20</font><font
face="宋体" size="4">日</font><font face="Times New Roman" size="4">
16:36, Kai Qiang Wu wrote:</font>
<ul>
<ul>
<font face="Times New Roman" size="4">Hi Duan Li,<br>
<br>
Not sure if I get your point very clearly.<br>
<br>
1> Magnum did support :</font><u><font color="#0000FF"
face="Times New Roman" size="4"><br>
</font></u><a moz-do-not-send="true"
href="https://github.com/openstack/magnum/blob/master/magnum/api/controllers/v1/baymodel.py#L65"><u><font
color="#0000FF" face="Times New Roman" size="4">https://github.com/openstack/magnum/blob/master/magnum/api/controllers/v1/baymodel.py#L65</font></u></a><font
face="Times New Roman" size="4"><br>
<br>
flavor-id for minion node<br>
master-flavor-id for master node<br>
<br>
So your K8s cluster could have such two kinds of flavors.<br>
<br>
<br>
2> For one question about ironic case (I found you deploy
on ironic), I did not think Magnum templates now support
ironic case now.<br>
As ironic VLAN related feature are still developing, and not
merged(many patches are under review, pick one for example </font><a
moz-do-not-send="true"
href="https://review.openstack.org/#/c/277853"><u><font
color="#0000FF" face="Times New Roman" size="4"><a class="moz-txt-link-freetext" href="https://review.openstack.org/#/c/277853">https://review.openstack.org/#/c/277853</a></font></u></a><font
face="Times New Roman" size="4">)<br>
<br>
<br>
I am not sure how would you use ironic for k8s cluster ? <br>
</font><br>
<font face="Courier New">-- </font><br>
<font face="Courier New">Best Regards, Eli Qiao (</font><font
face="宋体">乔立勇</font><font face="Courier New">)</font><br>
<font face="Courier New">Intel OTC China</font><tt>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe:
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
</tt><tt><a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></tt><tt><br>
</tt><br>
<br>
</ul>
</ul>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Best Regards, Eli Qiao (乔立勇)</pre>
</body>
</html>