# Kubernetes Kubelet Metrics

### Supported Platforms

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

### Configuration Table

<table><thead><tr><th width="164.73046875">Parameter</th><th width="111.91796875">Type</th><th width="91.640625">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>metric_groups</td><td><code>enums</code></td><td>all</td><td>Metric groups to the collector. Supported options include <code>node</code>, <code>pod</code>, <code>container</code>, and <code>volume</code>.</td></tr><tr><td>collection_interval</td><td><code>int</code></td><td>60s</td><td>Sets how often (seconds) to scrape for metrics.</td></tr></tbody></table>

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

### Example Configuration

The Kubernetes Kubelet metrics source has one required parameter:

* Cluster Name: The name of the cluster, which will be inserted as the `k8s.cluster.name` resource attribute

<figure><img src="https://1405008107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgmiOMzBfoNFwmKJFHMcJ%2Fuploads%2Fgit-blob-a517223b2614bc61e20de5cb13c1e678f97c284e%2Fintegrations-sources-kubernetes-kubelet-metrics-image-1%20(1).png?alt=media" alt="Bindplane docs - Kubernetes Kubelet Metrics - image 1"><figcaption></figcaption></figure>

Once running on an agent, metrics 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-e34568d9e24ad2e4d1928fcf939348dd2ab0d30f%2Fintegrations-sources-kubernetes-kubelet-metrics-image-2.png?alt=media" alt="Bindplane docs - Kubernetes Kubelet Metrics - 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-kubelet-metrics.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.
