On Fri, Apr 24, 2020 at 2:37 PM Sohaib Omar <[email protected]> wrote:

> Hi all,
> I am stuck in some weird situation. in metric *node_uname_info *I get the
> same value for nodename and pod label.
>

That is to be expected, because uname's "nodename" refers to the hostname,
and Kubernetes by default sets a pod's hostname to the pod's name.

See https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
:

"Currently when a pod is created, its hostname is the Pod’s metadata.name
value."

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CA%2BT6YozttZGtsxdpVRNtcE%2BYfw2yrqQ-ABkfWSz67WV5BzXoww%40mail.gmail.com.

Reply via email to