Skip to content

Commit fecf734

Browse files
committed
documentation for fluent/fluent-bit#8695
Signed-off-by: ryanohnemus <[email protected]>
1 parent 48f9e48 commit fecf734

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pipeline/filters/kubernetes.md

+5
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ The plugin supports the following configuration parameters:
5757
| Kube\_Meta\_Namespace\_Cache\_TTL | configurable TTL for K8s cached namespace metadata. By default, it is set to 900 which means a 15min TTL for namespace cache entries. Setting this to 0 will mean entries are evicted at random once the cache is full. | 900 |
5858
| Namespace\_Labels | Include Kubernetes namespace resource labels in the extra metadata. See [Kubernetes Namespace Meta](#kubernetes-namespace-meta)| Off |
5959
| Namespace\_Annotations | Include Kubernetes namespace resource annotations in the extra metadata. See [Kubernetes Namespace Meta](#kubernetes-namespace-meta)| Off |
60+
| Namespace\_Metadata\_Only | Include Kubernetes namespace metadata only and no pod metadata. If this is set, the values of `Labels` and `Annotations` are ignored. See [Kubernetes Namespace Meta](#kubernetes-namespace-meta)| Off |
6061

6162
## Processing the 'log' value
6263

@@ -92,6 +93,10 @@ Namespace Meta if collected will be stored within a `kubernetes_namespace` recor
9293

9394
> Namespace meta is not be guaranteed to be in sync as namespace labels & annotations can be adjusted after pod creation. Adjust `Kube_Meta_Namespace_Cache_TTL` to lower caching times to fit your use case.
9495
96+
* Namespace\_Metadata\_Only
97+
- Using this feature will instruct fluent-bit to only fetch namespace metadata and to not fetch POD metadata at all.
98+
POD basic metadata like container id, host, etc will be NOT be added and the Labels and Annotations configuration options which are used specifically for POD Metadata will be ignored.
99+
95100
## Kubernetes Pod Annotations
96101

97102
A flexible feature of Fluent Bit Kubernetes filter is that allow Kubernetes Pods to suggest certain behaviors for the log processor pipeline when processing the records. At the moment it support:

0 commit comments

Comments
 (0)