Hi Nate,
We have been working on a tool named 'kubediscovery' to help with
discovering dynamic composition tree of Kubernetes Objects.
You might find it useful for your use-case.
You can find it here:
https://github.com/cloud-ark/kubediscovery
Hi Nate,
We have been working on a tool named 'kubediscovery' to help with
discovering dynamic composition tree of Kubernetes Objects.
You might find it useful for your use-case.
You can find it here:
https://github.com/cloud-ark/kubediscovery
Regards,Devdatta
From: kubernet...@googlegroups.com <kubernet...@googlegroups.com> on behalf of Nate Rook <na...@askspoke.com>
Sent: Friday, August 10, 2018 1:26:58 PM
To: Kubernetes user discussion and Q&A
Subject: [kubernetes-users] kube-state-metrics: How can I get a deployment's pods?
--Hi,
I wanted to get from a Deployment to its running Pods using some sort of label join. Getting from Pods to ReplicaSets is easy: the metric kube_pod_owner connects Pods to their ReplicaSets if they have them. But I can't find a metric with labels which let me connect ReplicaSets to Deployments: that is, there's no kube_replicaset_owner.
Has anyone had any success finding this?
Nate
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kuberne...@googlegroups.com.
We usually use regex to get to the pods. You can use it like so
kube_pod_info{pod=~"go-svc.*"}
In the above case, go-svc is the deployment name.
Punit Agrawal
Site Reliability Engineer, Lead
New Product Development
To post to this group, send email to kubernet...@googlegroups.com.