18 lines
272 B
YAML
18 lines
272 B
YAML
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
|