forked from aws/eks-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
217 lines (191 loc) · 4.39 KB
/
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
global:
## Override the deployment namespace
# namespaceOverride:
image:
repository: public.ecr.aws/aws-observability/aws-for-fluent-bit
tag: 2.21.5
pullPolicy: IfNotPresent
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
service:
## Allow the service to be exposed for monitoring
## https://docs.fluentbit.io/manual/administration/monitoring
# extraService: |
# HTTP_Server On
# HTTP_Listen 0.0.0.0
# HTTP_PORT 2020
parsersFiles:
- /fluent-bit/parsers/parsers.conf
# additionalParsers: |
# [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: |
# ...
# additionalInputs: |
# [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: |
# ...
# additionalFilters: |
# [FILTER]
# Name grep
# Match *
# Exclude log lvl=debug*
cloudWatch:
enabled: true
match: "*"
region: "us-east-1"
logGroupName: "/aws/eks/fluentbit-cloudwatch/logs"
logStreamName:
logStreamPrefix: "fluentbit-"
logKey:
logFormat:
logRetentionDays:
roleArn:
autoCreateGroup: true
endpoint:
credentialsEndpoint: {}
# extraOutputs: |
# ...
firehose:
enabled: true
match: "*"
region: "us-east-1"
deliveryStream: "my-stream"
dataKeys:
roleArn:
endpoint:
timeKey:
# extraOutputs: |
# ...
kinesis:
enabled: true
match: "*"
region: "us-east-1"
stream: "my-kinesis-stream-name"
partitionKey: "container_id"
appendNewline:
replaceDots:
dataKeys:
roleArn:
endpoint:
stsEndpoint:
timeKey:
timeKeyFormat:
compression:
aggregation:
experimental:
concurrency:
concurrencyRetries:
# extraOutputs: |
# ...
elasticsearch:
enabled: true
match: "*"
host:
awsRegion: "us-east-1"
awsAuth: "On"
tls: "On"
port: "443"
retryLimit: 6
replaceDots: "On"
# extraOutputs: |
# Index = my-index
# additionalOutputs: |
# [OUTPUT]
# Name file
# Format template
# Template {time} used={Mem.used} free={Mem.free} total={Mem.total}
serviceAccount:
create: true
annotations: {}
name:
resources:
limits:
memory: 250Mi
requests:
cpu: 50m
memory: 50Mi
## Assign a PriorityClassName to pods if set
# priorityClassName: system-node-critical
updateStrategy:
type: RollingUpdate
nodeSelector: {}
tolerations: []
affinity: {}
annotations: {}
# iam.amazonaws.com/role: arn:aws:iam::123456789012:role/role-for-fluent-bit
env: []
## To add extra environment variables to the pods, add as below
# env:
# - name: AWS_REGION
# valueFrom:
# configMapKeyRef:
# name: fluent-bit-cluster-info
# key: logs.region
# - name: CLUSTER_NAME
# valueFrom:
# configMapKeyRef:
# name: fluent-bit-cluster-info
# key: cluster.name
# - name: HOST_NAME
# valueFrom:
# fieldRef:
# fieldPath: spec.nodeName
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
serviceMonitor:
# service:
# type: ClusterIP
# port: 2020
# targetPort: 2020
# When set true then use a ServiceMonitor to configure scraping
enabled: false
# Set the namespace the ServiceMonitor should be deployed
# namespace: monitoring
# Set how frequently Prometheus should scrape
# interval: 30s
# Set path of metrics, e.g /api/v1/metrics/prometheus
# telemetryPath: /api/v1/metrics/prometheus
# Set labels for the ServiceMonitor, use this to define your scrape label for Prometheus Operator
# labels:
# Set timeout for scrape
# timeout: 10s
# Set relabel_configs as per https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
# relabelings: []
# Set of labels to transfer on the Kubernetes Service onto the target.
# targetLabels: []
# metricRelabelings: []