-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjournald-to-syslog.yaml
60 lines (58 loc) · 1.34 KB
/
journald-to-syslog.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: journald-to-syslog
labels:
app: journald-to-syslog
spec:
updateStrategy:
type: RollingUpdate
selector:
matchLabels:
daemon: journald-to-syslog
template:
metadata:
name: journald-to-syslog
labels:
daemon: journald-to-syslog
spec:
tolerations:
- operator: "Exists"
effect: "NoSchedule"
containers:
- name: journald-to-syslog
image: outcoldsolutions/journald-to-syslog
securityContext:
privileged: true
resources:
limits:
cpu: 1
memory: 128Mi
requests:
cpu: 50m
memory: 32Mi
volumeMounts:
- name: machine-id
mountPath: /etc/machine-id
readOnly: true
- name: hostname
mountPath: /etc/hostname
readOnly: true
- name: journal
mountPath: /var/log/journal
readOnly: true
- name: var-log
mountPath: /rootfs/var/log/
volumes:
- name: machine-id
hostPath:
path: /etc/machine-id
- name: hostname
hostPath:
path: /etc/hostname
- name: var-log
hostPath:
path: /var/log
- name: journal
hostPath:
path: /var/log/journal