Skip to content

Commit 6e29a1e

Browse files
esmerelcnorris-cs
andauthored
Apply suggestions from code review
Co-authored-by: Craig Norris <[email protected]> Signed-off-by: esmerel <[email protected]>
1 parent e923c4e commit 6e29a1e

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

installation/kubernetes.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ DaemonSet, which is a pod that runs on every node of the cluster.
2323

2424
When Fluent Bit runs, it reads, parses, and filters the logs of every pod. In
2525
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.
2827

2928
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
3231
file names. All of this is handled automatically, no intervention is required from a
3332
configuration aspect.
3433

@@ -38,7 +37,7 @@ configuration aspect.
3837
be available on every node of your Kubernetes cluster.
3938

4039
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>.
4241

4342
### Note for OpenShift
4443

@@ -57,9 +56,9 @@ Use the following command to add the Fluent Helm charts repository
5756
helm repo add fluent https://fluent.github.io/helm-charts
5857
```
5958

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
6160
ensure the charts were added. The default chart can then be installed by running the
62-
following
61+
following command:
6362

6463
```shell
6564
helm upgrade --install fluent-bit fluent/fluent-bit
@@ -90,7 +89,7 @@ The default configuration of Fluent Bit ensures the following:
9089
It uses the Logstash format to ingest the logs. If you need a different `Index`
9190
and `Type`, refer to the plugin option and update as needed.
9291
- 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
9493
succeeds.
9594

9695
## Windows deployment
@@ -104,7 +103,7 @@ When deploying Fluent Bit to Kubernetes, there are three log files that you need
104103
- `C:\k\kubelet.err.log`
105104

106105
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.
108107

109108
- `C:\var\log\containers\<pod>_<namespace>_<container>-<docker>.log`
110109

@@ -146,7 +145,7 @@ spec:
146145
### Configure Fluent Bit
147146
148147
Assuming the basic volume configuration described previously, you can apply the
149-
following configuration to start logging.
148+
following configuration to start logging:
150149
151150
```yaml
152151
fluent-bit.conf: |
@@ -196,8 +195,8 @@ starts up:
196195
- `DNS_Retries`: Retries N times until the network start working (6)
197196
- `DNS_Wait_Time`: Lookup interval between network status checks (30)
198197

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:
201200

202201
```python
203202
[filter]

0 commit comments

Comments
 (0)