SNAS / docker

Docker files for docker installs
Eclipse Public License 1.0
20 stars 28 forks source link

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

Open vernor1 opened 4 years ago

vernor1 commented 4 years ago

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?