Hi all,
I am deploying Promtail to a Kubernetes cluster (minikube for the time being), along with Loki. I can see that Promtail is showing a couple of error messages:
E0328 14:41:21.022682 1 reflector.go:127] github.com/prometheus/prometheus/discovery/kubernetes/kubernetes.go:451: Failed to watch *v1.Pod: failed to list *v1.Pod: Get "https://10.96.0.1:443/api/v1/pods?fieldSelector=spec.nodeName%3Dminikube&limit=500&resourceVersion=0": dial tcp 10.96.0.1:443: connect: connection refused
E0328 14:41:22.543821 1 reflector.go:127] github.com/prometheus/prometheus/discovery/kubernetes/kubernetes.go:451: Failed to watch *v1.Pod: failed to list *v1.Pod: Get "https://10.96.0.1:443/api/v1/pods?fieldSelector=spec.nodeName%3Dminikube&limit=500&resourceVersion=0": dial tcp 10.96.0.1:443: connect: connection refused
What do those error mean? I can see a number of “Adding target” messages after that, so does it mean some retries have occurred and I can safely ignore the error messages?
Thanks a lot for any help!