<div dir="ltr">Hi Xu,<div><br></div><div>Yeah, these are similar to the ideas I heard via Lantao. My thought behind the issue I created was to try and find a solution that is generic enough to be built mostly into the containerd CRI plugin. But it may be that adding port-forward to the shim API and having shim implementations be fully responsible for port-forwarding might be easier. I'm curious what you think.</div><div><br></div><div>BTW, for your solution 1, where would socat come from and how would it be executed? Would that be in a container? Or would the kata shim do it similarly to how containerd used to do it and run the socat found on the Kata guest VM but inside the Pod ns (i.e. outside Pod cgroup)?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 31, 2020 at 4:08 PM Xu Wang via kata-dev <<a href="mailto:kata-dev@lists.katacontainers.io">kata-dev@lists.katacontainers.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="clear:both">Thanks for raising this again, Ian.</div><div style="clear:both"><br></div><div style="clear:both">It's appreciated that you may file the new issue. @bergwolf has replied it and here is</div><div style="clear:both">the link of the original proposal as the link in the original post has been unavailable now:</div><div style="clear:both"><br></div><div style="clear:both"><a href="https://drive.google.com/file/d/1G3I1fFxVb9GKR9s1U05FDkcUsaLMkfq4/view?usp=sharing" target="_blank">https://drive.google.com/file/d/1G3I1fFxVb9GKR9s1U05FDkcUsaLMkfq4/view?usp=sharing</a></div><div style="clear:both"><br></div><div style="clear:both">Cheers!</div><div style="clear:both"><br></div><div style="clear:both">Xu</div><div style="clear:both"><br></div><blockquote style="margin-right:0px;margin-top:0px;margin-bottom:0px"><div style="clear:both"><span style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:rgb(0,0,0)">------------------------------------------------------------------</span></div><div style="clear:both"><span style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:rgb(0,0,0)">From:Ian Lewis via kata-dev <<a href="mailto:kata-dev@lists.katacontainers.io" target="_blank">kata-dev@lists.katacontainers.io</a>></span></div><div style="clear:both"><span style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:rgb(0,0,0)">Send Time:2020年8月31日(星期一) 08:08</span></div><div style="clear:both"><span style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:rgb(0,0,0)">To:kata-dev <<a href="mailto:kata-dev@lists.katacontainers.io" target="_blank">kata-dev@lists.katacontainers.io</a>></span></div><div style="clear:both"><span style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:rgb(0,0,0)">Subject:[kata-dev] Port forwarding support</span></div><div style="clear:both"><span style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;color:rgb(0,0,0)"><br></span></div><div>Hi kata folks,<div><br></div><div>I have been looking into supporting port-forward in Kubernetes for gVisor and want to make sure that the solution is not too runtime specific. I have seen issue <a href="https://github.com/kata-containers/runtime/issues/697" target="_blank">#697</a>. Is this still an issue for Kata?</div><div><br></div><div><a href="https://github.com/kata-containers/runtime/issues/697" target="_blank"></a>I've written some ideas in <a href="https://github.com/kubernetes/enhancements/issues/1846" target="_blank">an issue</a> in the Kubernetes enhancements repo. I'd appreciate it if folks from the Kata team could comment on the pros and cons and whether these ideas would work for Kata as well.</div><div><br></div><div>After that, my thought is to get on the agenda and discuss at a sig-node meeting, ideally when folks from Kata could be present as well.</div><div><br></div><div>Cheers,</div><div>Ian<br clear="all"><div><br></div>-- <br><div><div><div><div><br><table cellpadding="0" cellspacing="0" style="font-family:Times"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td style="border-top:2px solid rgb(213,15,37)">Ian Lewis |</td><td style="border-top:2px solid rgb(51,105,232)"> Developer Advocate |</td><td style="border-top:2px solid rgb(0,153,57)"> <a href="mailto:ianlewis@google.com" target="_blank">ianlewis@google.com</a> |</td><td style="border-top:2px solid rgb(238,178,17)"> <a href="tel:+81%203-4540-2465" value="+81345402465" target="_blank">+81 (03)4540-2465</a></td></tr></tbody></table><br></div></div></div></div></div></div></blockquote><div><br></div></div>_______________________________________________<br>
kata-dev mailing list<br>
<a href="mailto:kata-dev@lists.katacontainers.io" target="_blank">kata-dev@lists.katacontainers.io</a><br>
<a href="http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev" rel="noreferrer" target="_blank">http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br><table cellspacing="0" cellpadding="0" style="font-family:Times"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td style="border-top:2px solid rgb(213,15,37)">Ian Lewis |</td><td style="border-top:2px solid rgb(51,105,232)"> Developer Advocate |</td><td style="border-top:2px solid rgb(0,153,57)"> <a href="mailto:ianlewis@google.com" target="_blank">ianlewis@google.com</a> |</td><td style="border-top:2px solid rgb(238,178,17)"> +81 (03)4540-2465</td></tr></tbody></table><br><span style="color:rgb(0,0,0);font-family:Times;font-size:medium"></span></div></div></div></div>