-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathds.yaml
29 lines (29 loc) · 802 Bytes
/
ds.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
apiVersion: apps/v1
kind: Deployment
metadata:
name: fuse-mounter
namespace: fuse
labels:
app: fuse-mounter
spec:
selector:
matchLabels:
name: fuse-mounter
template:
metadata:
annotations:
container.apparmor.security.beta.kubernetes.io/debug-pod: unconfined
labels:
name: fuse-mounter
spec:
serviceAccountName: default
containers:
- name: debug-pod
image: gcr.io/sam-playground-123/docker-toolbox:latest
command: [ "/bin/bash", "-c", "--" ]
args: [ "while true; do sleep 30; done;" ]
#args: [ "mkdir /mnt/disks/fuse || true; gcsfuse --foreground sam-playground-123 /mnt/disks/fuse" ]
securityContext:
privileged: false
capabilities:
add: ["SYS_ADMIN"]