# Kubernetes Cluster Events

### Supported Platforms

| Platform            | Metrics | Logs | Traces |
| ------------------- | ------- | ---- | ------ |
| Kubernetes Cluster  |         | ✓    |        |
| OpenShift 4 Cluster |         | ✓    |        |

### Configuration Table

<table><thead><tr><th width="131.40625">Parameter</th><th width="103.92578125">Type</th><th width="79.37109375">Default</th><th>Description</th></tr></thead><tbody><tr><td>cluster_name*</td><td><code>string</code></td><td></td><td>The cluster name that will be added as the <code>k8s.cluster.name</code> resource attribute.</td></tr><tr><td>namespaces</td><td><code>strings</code></td><td></td><td>Namespaces to collect events from. Default to all namespaces.</td></tr></tbody></table>

<mark style="color:red;">\*</mark>*<mark style="color:red;">required field</mark>*

### Example Configuration

The Kubernetes Events source has two options:

* Cluster Name: The name of the cluster, which will be inserted as the `k8s.cluster.name` resource attribute
* Namespaces: List of namespaces to collector events from. This is optional and defaults to all namespaces.

<figure><img src="https://1405008107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgmiOMzBfoNFwmKJFHMcJ%2Fuploads%2Fgit-blob-58b0257643ef744d0021debb350a022564b9871f%2Fintegrations-sources-kubernetes-cluster-events-image-1.png?alt=media" alt="Bindplane docs - Kubernetes Cluster Events - image 1"><figcaption></figcaption></figure>

Once running on a collector, events will look like this:

<figure><img src="https://1405008107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgmiOMzBfoNFwmKJFHMcJ%2Fuploads%2Fgit-blob-bfab0e6c167dad65e7c525a245e2620f9faea9f6%2Fintegrations-sources-kubernetes-cluster-events-image-2.png?alt=media" alt="Bindplane docs - Kubernetes Cluster Events - image 2"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bindplane.com/integrations/sources/kubernetes-cluster-events.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
