Hi We need to point to external kafka, mysql and e...
# all-things-deployment
f
Hi We need to point to external kafka, mysql and elastic search from datahub, currently we point to dockerized versions of them. Please let us know what all changes we need to do in order to achieve this.
e
Hi! Do you deploy datahub on local docker or kubernetes?
f
We are deploying it on docker
e
Are you running using datahub cli?
If so, it’s much easier! Go to https://github.com/linkedin/datahub/blob/master/docker/quickstart/docker-compose-without-neo4j.quickstart.yml and change the docker variables corresponding to the storage layer end points. (Also remove unnecessary pods corresponding to kafka, mysql, and elastic. You still need schema registry tho)
Under frontend-react change KAFKA_BOOTSTRAP_SERVER, ELASTIC_CLIENT_HOST, ELASTIC_CLIENT_PORT
Under gms change everything that starts with EBEAN_DATASOURCE to match mysql setup, ELASTICSEARCH_HOST, ELASTICSEARCH_PORT, KAFKA_BOOTSTRAP_SERVER
After doing so run
datahub docker quickstart --quickstart-compose-file docker/quickstart/docker-compose.quickstart.yml
if you use quickstart.sh
make sure you nuked before
then make the above changes to the same yaml file
and run quickstart.sh! It should automatically deploy with the local yaml file!
g
Hi @early-lamp-41924 i updated docker-compose-without-neo4j.quickstart.yml and docker-compose.quickstart.yml file with external mysql server details and ran datahub docker quickstart --quickstart-compose-file docker/quickstart/docker-compose.quickstart.yml still its not pointing