forked from elastic/cloudbeat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpod.yml
60 lines (60 loc) · 1.44 KB
/
pod.yml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Todo delete before merge to elastic/beats
apiVersion: v1
kind: Pod
metadata:
labels:
run: cloudbeat-demo
name: cloudbeat-demo
spec:
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
containers:
- image: cloudbeat
name: cloudbeat-demo
imagePullPolicy: Always
volumeMounts:
- name: proc
mountPath: /hostfs/proc
readOnly: true
- name: cgroup
mountPath: /hostfs/sys/fs/cgroup
readOnly: true
- name: varlibdockercontainers
mountPath: /var/lib/docker/containers
readOnly: true
- name: varlog
mountPath: /var/log
readOnly: true
- name: etckubernetes
mountPath: /hostfs/etc/kubernetes
readOnly: true
- name: varlib
mountPath: /hostfs/var/lib
readOnly: true
- name: etcsysmd
mountPath: /hostfs/etc/systemd
readOnly: true
volumes:
- name: proc
hostPath:
path: /proc
- name: cgroup
hostPath:
path: /sys/fs/cgroup
- name: varlibdockercontainers
hostPath:
path: /var/lib/docker/containers
- name: varlog
hostPath:
path: /var/log
- name: etckubernetes
hostPath:
path: /etc/kubernetes
- name: varlib
hostPath:
path: /var/lib
- name: etcsysmd
hostPath:
path: /etc/systemd
restartPolicy: Always