Skip to content

Commit 37ba37b

Browse files
committed
add simple deployment privileged example
1 parent ac4a153 commit 37ba37b

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
apiVersion: apps/v1
3+
kind: Deployment
4+
metadata:
5+
name: deployments-simple-deployment-privileged-deployment
6+
spec:
7+
replicas: 2
8+
selector:
9+
matchLabels:
10+
app: deployments-simple-deployment-privileged-app
11+
template:
12+
metadata:
13+
labels:
14+
app: deployments-simple-deployment-privileged-app
15+
spec:
16+
containers:
17+
- name: busybox
18+
image: busybox
19+
command:
20+
- /bin/sh
21+
- -c
22+
#- export A=$(echo $POD_IP | tr '.' '-' | sed 's/$/.q-connector.pod.cluster.local/g') && echo ${A}
23+
- sleep 3600
24+
#securityContext:
25+
# capabilities:
26+
# add:
27+
# - CAP_SYS_ADMIN

0 commit comments

Comments
 (0)