Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Get rid of nsenter and socat #144

@Random-Liu

Description

@Random-Liu

Currently we are using nsenter for both CNI plugin and port forword.

Ideally, we should be able to use NetNS.Do to run code inside a specific network namespace.

However, golang has an issue that it may spawn new threads from locked thread, which will inherit the network namespace. golang/go#20676

We should be able to get rid of all nsenters after this is fixed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions