Commit Graph

7 Commits

Author SHA1 Message Date
Antonio Ojea
11a78d9d0f
don't use socat for port forwarding
use goroutines to copy the data from the stream to the TCP
connection, and viceversa, removing the socat dependency.

Quoting Lantao Liu, the logic is as follow:

When one side (either pod side or user side) of portforward
is closed, we should stop port forwarding.

When one side is closed, the io.Copy use that side as source will close,
but the io.Copy use that side as dest won't.

Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2020-05-09 00:54:30 +02:00
Lantao Liu
69b3f3aeac Add socat back.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-11 01:53:24 +00:00
abhi
f7a0b43734 Minor cleanup of comment in ansible
Signed-off-by: abhi <abhi@docker.com>
2018-04-09 15:57:24 -07:00
abhi
c200cb4642 Updating ansible installer
Signed-off-by: abhi <abhi@docker.com>
2018-04-09 14:31:49 -07:00
Tobias Klauser
d29678a3c4 Drop libapparmor dependency from build docs
As of opencontainers/runc@db093f6 runc no longer depends on libapparmor
thus libapparmor-dev no longer needs to be installed to build it or
anythind that depends on it (like containerd or cri-containerd). Adjust
the documentation accordingly.

containerd/containerd#2238 did the same for containerd.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2018-03-31 18:18:12 +02:00
Lantao Liu
994df4cb7c Improve ansible playbook.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-25 22:39:04 +00:00
Abhinandan Prativadi
bafc7be9be kubernetes + containerd installer
Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
2017-09-20 22:32:09 -07:00