<div dir="ltr">Thanks, @Wei, more than exact answers the idea to is help start discussions :-) <br><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 3, 2018 at 8:32 AM zhangwei (CR) <<a href="mailto:zhangwei555@huawei.com">zhangwei555@huawei.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="ZH-CN" link="#0563C1" vlink="#954F72">
<div class="m_7469902365401001574WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Ricardo,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1f497d">A quick but late response, your questions are mostly related to detailed technique, so I can’t give you a certain answer because some answers from
me could be controversial and requires more discussion from more developers in community.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1f497d">So please take my answer as a reference, but it may not be final solution.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="m_7469902365401001574MsoListParagraph" style="margin-left:18.0pt">
<u></u><span lang="EN-US"><span>1)<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span lang="EN-US">I believe this came up before, but what are the plans to tie docker or kubernetes container resource definitions/utilization to the specific resources running in QEMU. For example, if in kubernetes we specify
that our container needs 2Gib of RAM how are we going to tie it into the Kata configuration. Is that going to work seamlessly with hotplug? Are there any plans to work with the Kubernetes/Docker communities to make this work seamlessly?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:red">Wei: We have open issue:
<a href="https://github.com/kata-containers/runtime/issues/400" target="_blank"><span style="color:red">https://github.com/kata-containers/runtime/issues/400</span></a> , and PR work in progress:
<a href="https://github.com/kata-containers/runtime/pull/580" target="_blank"><span style="color:red">https://github.com/kata-containers/runtime/pull/580</span></a> , we can get resource requirement from container config from bundle, then hotplug resources(ie Memory) to existing
VM. This is achievable even without help from docker/K8S communities.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">2) Looks like the focus in the upcoming year is to make Kata more stable, scalable, adopted, etc. Part of getting more adoption is to support other Hypervisors, so how soon (priority wise) do you see support for other
hypervisors like Hyper-V, and Xen? Which one would be next to support? <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:red">Wei: I think it depends. If we have many many users want to run it on Windows, then Hyper-V could be next, same to Xen support. All depend on user/customer requirements. </span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="m_7469902365401001574MsoListParagraph" style="margin-left:18.0pt">
<u></u><span lang="EN-US"><span>2)<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span lang="EN-US">It looks like there are vulnerabilities that also affect VMs, such as the L1 Terminal Fault (L1TF). In terms of addressing are there any plans for mitigating these besides what the Hypervisors or VM runtimes
(KVM, Xen, etc) might provide?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:red">Wei: we have a Vulnerability Management Team handling volnerabilities report (<a href="https://github.com/kata-containers/community/pull/39" target="_blank">https://github.com/kata-containers/community/pull/39</a>),
anyone can send email to VMT members to report an security issue he/she found. VM/Kernel CVE patches will be back ported periodly, besides we will add more security mechanism(e.g. Namespace, Cgroup, Seccomp etc.) to protect workload and platform.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">4) Are there any plans to add support to make easy for cluster operators/server admins to debug the VM? I mean we can always attach to the serial port but would be nice to have some tools to make it easy to debug.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:red">Wei: A tool is a good idea, here we need your issue or PR!
</span><span lang="EN-US" style="font-family:Wingdings;color:red">J</span><span lang="EN-US" style="color:red"> Recently James(@jodh-intel) add a new feature (opentracing support) for better trace logs for kata-containers, I think it can also help debug whole
stack. But anyway, this is a big topic, and will need more works. Also, any suggestion is welcome!<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:red"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks @Ricardo , not sure if this answers a bit of your questions.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Best Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1f497d">-Wei</span><span lang="EN-US" style="color:red"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:red"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"\005fae\008f6f\0096c5\009ed1",sans-serif">发件人<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"\005fae\008f6f\0096c5\009ed1",sans-serif"> Ricardo Aravena [mailto:<a href="mailto:raravena80@gmail.com" target="_blank">raravena80@gmail.com</a>]
<br>
</span><b><span style="font-size:11.0pt;font-family:"\005fae\008f6f\0096c5\009ed1",sans-serif">发送时间<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"\005fae\008f6f\0096c5\009ed1",sans-serif"> 2018</span><span style="font-size:11.0pt;font-family:"\005fae\008f6f\0096c5\009ed1",sans-serif">年<span lang="EN-US">9</span>月<span lang="EN-US">3</span>日<span lang="EN-US">
7:22<br>
</span><b>收件人<span lang="EN-US">:</span></b><span lang="EN-US"> <a href="mailto:kata-dev@lists.katacontainers.io" target="_blank">kata-dev@lists.katacontainers.io</a><br>
</span><b>主题<span lang="EN-US">:</span></b><span lang="EN-US"> [kata-dev] [AC][Election] Questions<u></u><u></u></span></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Questions, (some of them came up in my talk at the OSS)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">1) I believe this came up before, but what are the plans to tie docker or kubernetes container resource definitions/utilization to the specific resources running in QEMU. For example, if in kubernetes we specify that
our container needs 2Gib of RAM how are we going to tie it into the Kata configuration. Is that going to work seamlessly with hotplug? Are there any plans to work with the Kubernetes/Docker communities to make this work seamlessly?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2) Looks like the focus in the upcoming year is to make Kata more stable, scalable, adopted, etc. Part of getting more adoption is to support other Hypervisors, so how soon (priority wise) do you see support for other
hypervisors like Hyper-V, and Xen? Which one would be next to support? <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">3) It looks like there are vulnerabilities that also affect VMs, such as the L1 Terminal Fault (L1TF). In terms of addressing are there any plans for mitigating these besides what the Hypervisors or VM runtimes (KVM,
Xen, etc) might provide?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">4) Are there any plans to add support to make easy for cluster operators/server admins to debug the VM? I mean we can always attach to the serial port but would be nice to have some tools to make it easy to debug.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Thanks!<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</blockquote></div></div>