-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add owner object info to Kubernetes metadata (#7231)
This change adds object name for the Pod owner (if any) when enriching with kubernetes metadata. This information is really useful when mapping running containers to their creator workload. Resulting metadata will now include the name of the Deployment, ReplicaSet or ReplicaSet who created the Pod (if any), ie: ``` { "kubernetes":{ "container":{ "name":"kube-state-metrics" }, "labels":{ "k8s-app":"kube-state-metrics", "pod-template-hash":"2035844717" }, "namespace":"kube-system", "node":{ "name":"minikube" }, "pod":{ "name":"kube-state-metrics-6479d88c5c-5b6cl" }, "replicaset":{ "name":"kube-state-metrics-6479d88c5c" } } } ```
- Loading branch information
Showing
8 changed files
with
115 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters