docker icon indicating copy to clipboard operation
docker copied to clipboard

Replacing localhost with docker-localhost prevents running the collector and kafka in the same k8s pod

Open vernor1 opened this issue 4 years ago • 0 comments

In docker/collector/scripts/run, localhost (loopback) is replaced with docker-localhost (docker gateway). I'm running the collector and kafka containers in the same Kubernetes pod, so KAFKA_FQDN is set to localhost. So I have to remove the weird substitution from the run-script, but why is that there in the first place?

vernor1 avatar Oct 04 '20 13:10 vernor1