forked from logdna/logdna-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
logdna-agent-ds-os.yml
84 lines (84 loc) · 2.13 KB
/
logdna-agent-ds-os.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
creationTimestamp: null
generation: 4
labels:
app: logdna-agent
name: logdna-agent
spec:
selector:
matchLabels:
app: logdna-agent
template:
metadata:
creationTimestamp: null
labels:
app: logdna-agent
spec:
containers:
- env:
- name: LOGDNA_AGENT_KEY
valueFrom:
secretKeyRef:
key: logdna-agent-key
name: logdna-agent-key
- name: LOGDNA_PLATFORM
value: k8s
- name: USEJOURNALD
value: files
#- name: LOGDNA_TAGS
# value: production,cluster1,othertags
image: logdna/logdna-agent:latest
imagePullPolicy: Always
name: logdna-agent
resources:
limits:
memory: 500Mi
securityContext:
privileged: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/log
name: varlog
- mountPath: /var/lib/docker/containers
name: varlibdockercontainers
readOnly: true
- mountPath: /mnt
name: mnt
readOnly: true
- mountPath: /var/run/docker.sock
name: docker
- mountPath: /etc/os-release
name: osrelease
- mountPath: /etc/logdna-hostname
name: logdnahostname
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: logdna-agent
serviceAccountName: logdna-agent
terminationGracePeriodSeconds: 30
volumes:
- hostPath:
path: /var/log
name: varlog
- hostPath:
path: /var/lib/docker/containers
name: varlibdockercontainers
- hostPath:
path: /mnt
name: mnt
- hostPath:
path: /var/run/docker.sock
name: docker
- hostPath:
path: /etc/os-release
name: osrelease
- hostPath:
path: /etc/hostname
name: logdnahostname
updateStrategy:
type: OnDelete