Hi all, I'm using Datahub as what "Quickstart" in ...
# getting-started
d
Hi all, I'm using Datahub as what "Quickstart" in official website tells me to do and the service is running with local mode . I wander if there is a way to deploy Datahub with a distributed mode and how?
b
What sort of distributed mode do you have in mind? Containers split up into different host? K8S?
d
I'd like to deploy one service in different machines , can I?
b
you could deploy the various containers that make up Datahub in different machines as long as they can reach the other containers. i havent done that before, but inside /datahub/docker/ folders there are env files that allow you to change the default address of the containers. the containers you need to adjust env settings for are listed in the docker-compose.yml & docker-compose.override.yml (the env file locations are specified there)
d
Oh,I see. And then I want to ask something about HA in distributed mode. There are many ways of HA for storage layer(mysql)、MAE(kafka)、ES, but how to ensure HA of datahub-gms and datahub-frontend-react if deployed with distributed mode?
b
i'll run it in kubernetes, which will spin up containers to replace failed ones
d
Ok, thank you very much!
l
You can through this Setup on K8S - https://github.com/acryldata/datahub-helm
d
fine, thank you very much