This repository was archived by the owner on Apr 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : DaemonSet
3
+ metadata :
4
+ name : fluent-bit
5
+ namespace : logging
6
+ labels :
7
+ k8s-app : fluent-bit-logging
8
+ version : v1
9
+ kubernetes.io/cluster-service : " true"
10
+ spec :
11
+ selectors :
12
+ matchLabels :
13
+ k8s-app : fluent-bit-logging
14
+ version : v1
15
+ kubernetes.io/cluster-service : " true"
16
+ template :
17
+ metadata :
18
+ labels :
19
+ k8s-app : fluent-bit-logging
20
+ version : v1
21
+ kubernetes.io/cluster-service : " true"
22
+ annotations :
23
+ prometheus.io/scrape : " true"
24
+ prometheus.io/port : " 2020"
25
+ prometheus.io/path : /api/v1/metrics/prometheus
26
+ spec :
27
+ containers :
28
+ - name : fluent-bit
29
+ image : fluent/fluent-bit:1.3.11
30
+ imagePullPolicy : Always
31
+ ports :
32
+ - containerPort : 2020
33
+ env :
34
+ - name : FLUENT_ELASTICSEARCH_HOST
35
+ value : " elasticsearch"
36
+ - name : FLUENT_ELASTICSEARCH_PORT
37
+ value : " 9200"
38
+ volumeMounts :
39
+ - name : varlog
40
+ mountPath : /var/log
41
+ - name : varlibdockercontainers
42
+ mountPath : /var/lib/docker/containers
43
+ readOnly : true
44
+ - name : fluent-bit-config
45
+ mountPath : /fluent-bit/etc/
46
+ terminationGracePeriodSeconds : 10
47
+ volumes :
48
+ - name : varlog
49
+ hostPath :
50
+ path : /var/log
51
+ - name : varlibdockercontainers
52
+ hostPath :
53
+ path : /var/lib/docker/containers
54
+ - name : fluent-bit-config
55
+ configMap :
56
+ name : fluent-bit-config
57
+ serviceAccountName : fluent-bit
58
+ tolerations :
59
+ - key : node-role.kubernetes.io/master
60
+ operator : Exists
61
+ effect : NoSchedule
62
+ - operator : " Exists"
63
+ effect : " NoExecute"
64
+ - operator : " Exists"
65
+ effect : " NoSchedule"
You can’t perform that action at this time.
0 commit comments