/
aws-for-fluentbit-values.yaml
140 lines (117 loc) · 2.43 KB
/
aws-for-fluentbit-values.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
global:
## Override the deployment namespace
namespaceOverride: logging
image:
repository: amazon/aws-for-fluent-bit
tag: 2.1.0
pullPolicy: IfNotPresent
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
service:
parsersFiles:
- /fluent-bit/parsers/parsers.conf
# extraParsers: |
# [PARSER]
# Name logfmt
# Format logfmt
input:
tag: "kube.*"
path: "/var/log/containers/*.log"
db: "/var/log/flb_kube.db"
parser: docker
dockerMode: "On"
memBufLimit: 5MB
skipLongLines: "On"
refreshInterval: 10
# extraInputs: |
# [INPUT]
# Name winlog
# Channels Setup,Windows PowerShell
# Interval_Sec 1
# DB winlog.sqlite
filter:
match: "kube.*"
kubeURL: "https://kubernetes.default.svc.cluster.local:443"
mergeLog: "On"
mergeLogKey: "data"
keepLog: "On"
k8sLoggingParser: "On"
k8sLoggingExclude: "On"
# extraFilters: |
# [FILTER]
# Name grep
# Match *
# Exclude log lvl=debug*
cloudWatch:
enabled: true
match: "*"
region: ${region}
logGroupName: ${aws_for_fluent_bit_cw_log_group}
logStreamName:
logStreamPrefix: "fluentbit-"
logKey:
logFormat:
roleArn:
autoCreateGroup: true
endpoint:
credentialsEndpoint: {}
firehose:
enabled: false
match: "*"
region: ${region}
deliveryStream: "my-stream"
dataKeys:
roleArn:
endpoint:
timeKey:
kinesis:
enabled: false
match: "*"
region: ${region}
stream: "my-kinesis-stream-name"
partitionKey: "container_id"
appendNewline:
dataKeys:
roleArn:
timeKey:
timeKeyFormat:
# extraOutputs: |
# [OUTPUT]
# Name file
# Format template
# Template {time} used={Mem.used} free={Mem.free} total={Mem.total}
serviceAccount:
create: true
annotations: {}
name:
resources:
limits:
memory: 500Mi
requests:
cpu: 500m
memory: 500Mi
## Assign a PriorityClassName to pods if set
# priorityClassName: system-node-critical
updateStrategy:
type: RollingUpdate
nodeSelector:
kubernetes.io/os: linux
tolerations: []
affinity: {}
annotations: {}
# iam.amazonaws.com/role: arn:aws:iam::123456789012:role/role-for-fluent-bit
env: []
volumes:
- name: varlog
hostPath:
path: /var/log
- name: varlibdockercontainers
hostPath:
path: /var/lib/docker/containers
volumeMounts:
- name: varlog
mountPath: /var/log
- name: varlibdockercontainers
mountPath: /var/lib/docker/containers
readOnly: true