-
Notifications
You must be signed in to change notification settings - Fork 0
/
daemonset.yaml
43 lines (43 loc) · 896 Bytes
/
daemonset.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apiVersion: apps/v1
kind: DaemonSet
metadata:
creationTimestamp: null
labels:
app: swiss-host
type: DaemonSet
name: swiss
spec:
selector:
matchLabels:
app: swiss-host
type: DaemonSet
template:
metadata:
labels:
app: swiss-host
type: DaemonSet
spec:
hostPID: true
hostIPC: true
hostNetwork: true
containers:
- image: iptizer/swiss
name: troubleshoot
imagePullPolicy: Always
resources: {}
args:
# 1 week
- "devbox"
- "run"
- "sleep 604800"
securityContext:
privileged: true
volumeMounts:
- name: host
mountPath: "/host"
dnsPolicy: ClusterFirst
restartPolicy: Always
volumes:
- name: host
hostPath:
path: "/"