I ran the query below in Prometheus and I see that it works, however I have 1 pod called dummy-podX not 2 , it seems that somehow the values are being duplicated.
sum by (namespace,pod) (kube_pod_info{namespace="default"})
{namespace="default", pod="dummy-pod3"} 2
{namespace="default", pod="dummy-pod2"} 2
kubectl get pod -n default
NAME READY STATUS RESTARTS AGE
dummy-pod2 1/1 Running 0 3h8m
dummy-pod3 1/1 Running 0 3h3m
Have you faced this issue?, Is anybody able to advise how to adjust this?.