This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
namespace: Check if pid namespaces need to be shared
k8s provides a configuration for sharing PID namespace among containers. In case of crio and cri plugin, an infra container is started first. All following containers are supposed to share the pid namespace of this container. In case a non-empty pid namespace path is provided for a container, we check for the above condition while creating a container and pass this out to the kata agent in the CreatContainer request as SandboxPidNs flag. We clear out the PID namespaces in the configuration passed to the kata agent. Fixes #343 Signed-off-by: Archana Shinde <[email protected]>
- Loading branch information
Showing
4 changed files
with
158 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters