K8s metricbeat not consistently recognizing metric endpoints

I will try it out thanks!

But what surprises me is the randomness with which it works. Sometimes the pod is found and sometimes not...