> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chronosphere.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Kubernetes Events source plugin

export const entity_0 = "Kubernetes Events source plugin"

export const plugin_0 = "Kubernetes Events source plugin"

The Kubernetes Events [source plugin](/ingest/pipeline/plugins/source-plugins)
(name: `kubernetes_events`) lets you ingest data from Kubernetes into a
telemetry pipeline.

This is a [pull-based](/ingest/pipeline/plugins/source-plugins#push-based-and-pull-based-source-plugins) source plugin.

## Supported telemetry types

The {plugin_0} for Chronosphere Telemetry Pipeline supports these telemetry types:

|                    Logs                    |             Metrics             |              Traces             |
| :----------------------------------------: | :-----------------------------: | :-----------------------------: |
| <Icon icon="circle-check" color="green" /> | <Icon icon="ban" color="red" /> | <Icon icon="ban" color="red" /> |

## Configuration parameters

Use the parameters in this section to configure the {entity_0}. The
Telemetry Pipeline web interface uses the items in the **Name** column to
describe these parameters. [Pipeline configuration files](/ingest/pipeline/v2/configure/config-files)
use the items in the **Key** column as YAML keys.

### Required

| Name                               | Key        | Description                                                                | Default                          |
| ---------------------------------- | ---------- | -------------------------------------------------------------------------- | -------------------------------- |
| **Kubernetes API Server Endpoint** | `kube_url` | Required. The API server endpoint that's accessible to Telemetry Pipeline. | `https://kubernetes.default.svc` |

### Advanced

| Name                                      | Key                   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                     | Default |
| ----------------------------------------- | --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| **Kubernetes TLS CA file**                | `kube_ca_file`        | Your Kubernetes CA certificate file.                                                                                                                                                                                                                                                                                                                                                                                                                            | *none*  |
| **Kubernetes TLS CA path**                | `kube_ca_path`        | Your Kubernetes CA certificate path.                                                                                                                                                                                                                                                                                                                                                                                                                            | *none*  |
| **Kubernetes authorization Token File**\* | `kube_token_file`     | Your Kubernetes authorization token file.                                                                                                                                                                                                                                                                                                                                                                                                                       | *none*  |
| **Kubernetes Token Time To Live (TTL)**   | `kube_token_ttl`      | The amount of time before a token is reread from its file.                                                                                                                                                                                                                                                                                                                                                                                                      | `10M`   |
| **Kubernetes Request Limit**              | `kube_request_limit`  | The request limit for how many events to collect.                                                                                                                                                                                                                                                                                                                                                                                                               | `0`     |
| **Kubernetes Event Retention Time**       | `kube_retention_time` | How long Kubernetes should retain events.                                                                                                                                                                                                                                                                                                                                                                                                                       | `1h`    |
| **Kubernetes Namespace**                  | `kube_namespace`      | The Kubernetes namespace to query events from. By default, fetches events from all namespaces.                                                                                                                                                                                                                                                                                                                                                                  | *none*  |
| **Memory Buffer Limit**                   | `mem_buf_limit`       | For pipelines with the Deployment or DaemonSet [workload](/ingest/pipeline/v2/configure/kubernetes/workloads) type only. Sets a limit for how much buffered data the plugin can write to memory, which affects [backpressure](/ingest/pipeline/v2/configure/backpressure). This value must follow Fluent Bit's rules for [unit sizes](https://docs.fluentbit.io/manual/administration/configuring-fluent-bit#unit-sizes). If unspecified, no limit is enforced. | *none*  |
