Merge pull request #22403 from irvifa/id/share-process-namespace

docs: Translate Share Process Namespace between Containers in a Pod to ID.
This commit is contained in:
Kubernetes Prow Robot
2020-07-09 01:12:03 -07:00
committed by GitHub
2 changed files with 135 additions and 0 deletions
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
shareProcessNamespace: true
containers:
- name: nginx
image: nginx
- name: shell
image: busybox
securityContext:
capabilities:
add:
- SYS_PTRACE
stdin: true
tty: true