influxdata/telegraf

[kube inventory plugin] map deployment to pods

Open

#16,142 opened on Nov 5, 2024

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (9,892 stars) (4,161 forks)batch import
feature requesthelp wanted

Description

Today in kube inventory plugin there is no way to map a deployment to a pod thereby to a container.

sample config [[inputs.kube_inventory]] url = "https://127.0.0.1:6443" url_kubelet = "https://127.0.0.1:10250" bearer_token = "/run/secrets/kubernetes.io/serviceaccount/token" insecure_skip_verify = true name_prefix = "kube_inventory_"

Can the plugin be enhanced to include the pod names in the deployment metrics

Contributor guide

[kube inventory plugin] map deployment to pods · influxdata/telegraf#16142 | Good First Issue