-
Notifications
You must be signed in to change notification settings - Fork 4
/
ds-rsyslog.yaml
82 lines (82 loc) · 2.15 KB
/
ds-rsyslog.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
apiVersion: v1
items:
- apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
labels:
app: rsyslog
name: rsyslog
spec:
selector:
matchLabels:
app: rsyslog
deploymentconfig: rsyslog
updateStrategy:
type: RollingUpdate
rollingUpdate:
minReadySeconds: 600
template:
metadata:
annotations:
openshift.io/container.rsyslog.image.entrypoint: '["/bin/rsyslog.sh"]'
openshift.io/scc: privileged
creationTimestamp: null
labels:
app: rsyslog
deploymentconfig: rsyslog
spec:
containers:
- image: registry.access.redhat.com/rhel7/rsyslog:latest
imagePullPolicy: Always
name: rsyslog
resources:
limits:
cpu: 100m
securityContext:
privileged: true
terminationMessagePath: /dev/termination-log
volumeMounts:
- mountPath: /var/log
name: varlog
- mountPath: /run/log
name: runlog
- mountPath: /etc/machine-id
name: etcmachineid
readOnly: true
- mountPath: /etc/localtime
name: etclocaltime
readOnly: true
- mountPath: /etc/hostname
name: etchostname
readOnly: true
- mountPath: /etc/rsyslog.d
name: rsyslog-config-vol
readOnly: true
dnsPolicy: ClusterFirst
restartPolicy: Always
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- hostPath:
path: /var/log
name: varlog
- hostPath:
path: /run/log
name: runlog
- hostPath:
path: /etc/machine-id
name: etcmachineid
- hostPath:
path: /etc/localtime
name: etclocaltime
- hostPath:
path: /etc/hostname
name: etchostname
- name: rsyslog-config-vol
configMap:
name: rsyslog-config-cm
items:
- key: container-config
path: container.conf
kind: List
metadata: {}