Open
Description
What would you like to be added:
deployment
label on ReplicaSet metrics, potentially Pod.
Why is this needed:
As of today, it is impossible to aggregate Pods based on a Deployment they belong to.
Describe the solution you'd like
Additional context
- https://github.com/kubernetes/kube-state-metrics/blob/v2.12.0/docs/deployment-metrics.md
- https://github.com/kubernetes/kube-state-metrics/blob/v2.12.0/docs/replicaset-metrics.md
- https://github.com/kubernetes/kube-state-metrics/blob/v2.12.0/docs/pod-metrics.md
Potentially related to the feature #2424, which addresses objects relationship through dedicated metrics.
The path taken is different, but would also allow for the current use case.