Got it now, thanks once again, Julius.

On Friday, 24 April 2020 18:47:55 UTC+5, Julius Volz wrote:
>
> On Fri, Apr 24, 2020 at 2:37 PM Sohaib Omar <soha...@gmail.com 
> <javascript:>> 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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/57b633d1-476c-4a7f-abf7-4ff5fb99d89f%40googlegroups.com.

Reply via email to