Skip to content

Commit a019fd1

Browse files
esmerelcnorris-cs
andauthored
Apply suggestions from code review
Co-authored-by: Craig Norris <[email protected]> Signed-off-by: Lynette Miles <[email protected]>
1 parent 468e74e commit a019fd1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pipeline/inputs/kubernetes-events.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,22 @@ Kubernetes exports events through the API server. This input plugin lets you ret
1212
| Key | Description | Default |
1313
| --- | ----------- | ------- |
1414
| `db` | Set a database file to keep track of recorded Kubernetes events. | _none_ |
15-
| `db.sync` | Set a database sync method. Values: `extra`, `full`, `normal`, and `off`. | `normal` |
15+
| `db.sync` | Set a database sync method. Accepted values: `extra`, `full`, `normal`, `off`. | `normal` |
1616
| `interval_sec` | Set the reconnect interval (seconds). | `0` |
1717
| `interval_nsec` | Set the reconnect interval (sub seconds: nanoseconds). | `500000000` |
1818
| `kube_url` | API Server endpoint. | `https://kubernetes.default.svc` |
1919
| `kube_ca_file` | Kubernetes TLS CA file. | `/var/run/secrets/kubernetes.io/serviceaccount/ca.crt` |
2020
| `kube_ca_path` | Kubernetes TLS ca path. | _none_ |
2121
| `kube_token_file` | Kubernetes authorization token file. | `/var/run/secrets/kubernetes.io/serviceaccount/token` |
22-
| `kube_token_ttl` | Kubernetes token time to live, until it's reread from the token file. | `10m` |
22+
| `kube_token_ttl` | Kubernetes token time to live, until it's read again from the token file. | `10m` |
2323
| `kube_request_limit` | Kubernetes limit parameter for events query, no limit applied when set to `0`. | `0` |
2424
| `kube_retention_time` | Kubernetes retention time for events. | `1h` |
2525
| `kube_namespace` | Kubernetes namespace to query events from. | `all` |
2626
| `tls.debug` | Debug level between `0` (nothing) and `4` (every detail). | `0` |
2727
| `tls.verify` | Enable or disable verification of TLS peer certificate. | `On` |
2828
| `tls.vhost` | Set optional TLS virtual host. | _none_ |
2929

30-
In FluentBit 3.1 or later, this plugin uses a Kubernetes watch stream instead of polling. In versions before 3.1, the interval parameters are used for reconnecting the Kubernetes watch stream.
30+
In Fluent Bit 3.1 or later, this plugin uses a Kubernetes watch stream instead of polling. In versions earlier than 3.1, the interval parameters are used for reconnecting the Kubernetes watch stream.
3131

3232
## Threading
3333

@@ -37,11 +37,11 @@ This input always runs in its own [thread](../../administration/multithreading.m
3737

3838
### Kubernetes service account
3939

40-
The Kubernetes service account used by Fluent Bit must have `get`, `list`, and `watch` permissions to `namespaces` and `pods` for the namespaces watched in the `kube_namespace` configuration parameter. If you're using the helm chart to configure Fluent Bit, this role is included.
40+
The Kubernetes service account used by Fluent Bit must have `get`, `list`, and `watch` permissions to `namespaces` and `pods` for the namespaces watched in the `kube_namespace` configuration parameter. If you're using the Helm chart to configure Fluent Bit, this role is included.
4141

4242
### Basic configuration file
4343

44-
In the following configuration file, the Kubernetes events plugin collects events every `5` seconds (default for `interval_nsec`) and exposes them through the [standard output plugin](../outputs/standard-output.md) on the console.
44+
In the following configuration file, the Kubernetes events plugin collects events every `5` seconds (default for `interval_nsec`) and exposes them through the [standard output plugin](../outputs/standard-output.md) on the console:
4545

4646
```python
4747
[SERVICE]

0 commit comments

Comments
 (0)