-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathds.yaml
43 lines (43 loc) · 1.15 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
kind: DaemonSet
apiVersion: extensions/v1beta1
metadata:
name: logging-syslog
spec:
template:
metadata:
labels:
name: logging-syslog
spec:
containers:
- name: rsyslog
image: "kincl/kubernetes-logging-syslog:latest"
imagePullPolicy: Always
env:
- name: RSYSLOG_TARGET
value: "127.0.0.1"
- name: RSYSLOG_PORT
value: "514"
- name: RSYSLOG_PROTOCOL
value: udp
volumeMounts:
- name: host-container-logs-k8s
mountPath: /var/log/containers
- name: host-container-logs-docker
mountPath: /var/lib/docker/containers
- name: rsyslog-state-dir
mountPath: /var/lib/rsyslog
- name: host-timezone
mountPath: /etc/localtime
volumes:
- name: host-container-logs-k8s
hostPath:
path: /var/log/containers
- name: host-container-logs-docker
hostPath:
path: /var/lib/docker/containers
- name: rsyslog-state-dir
hostPath:
path: /var/lib/rsyslog
- name: host-timezone
hostPath:
path: /etc/localtime