@@ -23,12 +23,11 @@ DaemonSet, which is a pod that runs on every node of the cluster.
23
23
24
24
When Fluent Bit runs, it reads, parses, and filters the logs of every pod. In
25
25
addition, Fluent Bit adds metadata to each entry using the
26
- [ Kubernetes] ( ../pipeline/filters/kubernetes ) filter
27
- plugin.
26
+ [ Kubernetes] ( ../pipeline/filters/kubernetes ) filter plugin.
28
27
29
28
The Kubernetes filter plugin talks to the Kubernetes API Server to retrieve relevant
30
- information such as the ` pod_id ` , ` labels ` , and ` annotations ` . Other fields such as
31
- ` pod_name ` , ` container_id ` , and ` container_name ` are retrieved locally from the log
29
+ information such as the ` pod_id ` , ` labels ` , and ` annotations ` . Other fields, such as
30
+ ` pod_name ` , ` container_id ` , and ` container_name ` , are retrieved locally from the log
32
31
file names. All of this is handled automatically, no intervention is required from a
33
32
configuration aspect.
34
33
@@ -38,7 +37,7 @@ configuration aspect.
38
37
be available on every node of your Kubernetes cluster.
39
38
40
39
The recommended way to deploy Fluent Bit for Kubernetes is with the official Helm
41
- Chart: < https://github.com/fluent/helm-charts >
40
+ Chart at < https://github.com/fluent/helm-charts > .
42
41
43
42
### Note for OpenShift
44
43
@@ -57,9 +56,9 @@ Use the following command to add the Fluent Helm charts repository
57
56
helm repo add fluent https://fluent.github.io/helm-charts
58
57
```
59
58
60
- To validate that the repository was added you can run ` helm search repo fluent ` to
59
+ To validate that the repository was added, run ` helm search repo fluent ` to
61
60
ensure the charts were added. The default chart can then be installed by running the
62
- following
61
+ following command:
63
62
64
63
``` shell
65
64
helm upgrade --install fluent-bit fluent/fluent-bit
@@ -90,7 +89,7 @@ The default configuration of Fluent Bit ensures the following:
90
89
It uses the Logstash format to ingest the logs. If you need a different ` Index `
91
90
and ` Type ` , refer to the plugin option and update as needed.
92
91
- There is an option called ` Retry_Limit ` , which is set to ` False ` . If Fluent Bit
93
- can't flush the records to Elasticsearch it will retry indefinitely until it
92
+ can't flush the records to Elasticsearch, it will retry indefinitely until it
94
93
succeeds.
95
94
96
95
## Windows deployment
@@ -104,7 +103,7 @@ When deploying Fluent Bit to Kubernetes, there are three log files that you need
104
103
- ` C:\k\kubelet.err.log `
105
104
106
105
This is the error log file from kubelet daemon running on host. Retain this file
107
- for future troubleshooting like debugging deployment failures.
106
+ for future troubleshooting, including debugging deployment failures.
108
107
109
108
- ` C:\var\log\containers\<pod>_<namespace>_<container>-<docker>.log `
110
109
@@ -146,7 +145,7 @@ spec:
146
145
### Configure Fluent Bit
147
146
148
147
Assuming the basic volume configuration described previously, you can apply the
149
- following configuration to start logging.
148
+ following configuration to start logging:
150
149
151
150
` ` ` yaml
152
151
fluent-bit.conf : |
@@ -196,8 +195,8 @@ starts up:
196
195
- `DNS_Retries` : Retries N times until the network start working (6)
197
196
- `DNS_Wait_Time` : Lookup interval between network status checks (30)
198
197
199
- By default, Fluent Bit waits for 3 minutes (30 seconds x 6 times). If it's not enough
200
- for you, tweak the configuration as follows.
198
+ By default, Fluent Bit waits for three minutes (30 seconds x 6 times). If it's not enough
199
+ for you, update the configuration as follows :
201
200
202
201
` ` ` python
203
202
[filter]
0 commit comments