Hi, is there anyway that I can add Host Aliases (a...
# ask-community-for-troubleshooting
t
Hi, is there anyway that I can add Host Aliases (add hosts in /etc/hosts) for airbyte ETL job? We have a kafka cluster that using hostname to install, and we don't setup the dns server. Thanks.
1
u
Hi @Timothy Tian Yang, Airbyte's containers are launched with the
host
network mode, it means if your instance's
/etc/hosts
will be used by these containers. So please edit your instance's
/etc/hosts
and check if you can reach your Kafka cluster.
t
Sorry for that I missed some information, we use kubernetes to deploy airbyte. Change sync pod every time ? Thanks
u
If you are running on K8S, a solution would be to use pod
hostAliases
.We do not allow customization of the sync pod definition. You could open an issue for a feature request if you think it could be helpful. But IMO you should instead fix your DNS outside of Airbyte. You can maybe look at a solution based on core-dns and stubdomains, but that is not my area of expertise.
t
@[DEPRECATED] Augustin Lafanechere I totally agree your comments. I think we should add DNS server. Thanks.