Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

grpc: specify if shared pidns is needed in CreateSandbox #12

Merged
merged 1 commit into from Nov 28, 2017

Conversation

bergwolf
Copy link
Member

Use it to tell agent if a pod level pid namespace is required. We may want to just always use a pod level pidns but this option keeps in sync with k8s per-pod PID Namespace Sharing (kubernetes/enhancements#495) and crio --disable-shared-pid-namespace flag (cri-o/cri-o#1149).

@bergwolf
Copy link
Member Author

@sameo @sboeuf @laijs PTAL.

@@ -103,6 +103,7 @@ message CreateSandboxRequest {
string hostname = 1;
repeated string dns = 2;
repeated Storage storages = 3;
bool shared_pidns = 4;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seams that all the containers are forced to be shared the sandbox pidns.

I prefer create_sandbox_pidns or sandbox_pidns or infra_pidns.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
@laijs
Copy link
Contributor

laijs commented Nov 28, 2017

LGTM, @sameo @sboeuf @jodh-intel WDYT?
related discussion: #1 (comment)

@bergwolf bergwolf changed the title specify if shared pidns is needed in CreateSandbox grpc: specify if shared pidns is needed in CreateSandbox Nov 28, 2017
@sameo
Copy link

sameo commented Nov 28, 2017

LGTM

@sameo sameo merged commit 3484914 into kata-containers:master Nov 28, 2017
@laijs
Copy link
Contributor

laijs commented Dec 12, 2017

hello, I'm trying to remove it and make it mandatory. #54

@bergwolf bergwolf deleted the shared_pidns branch April 2, 2018 07:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants