Hi team, I’ve just finished deploying datahub to a...
# all-things-deployment
m
Hi team, I’ve just finished deploying datahub to a k8s cluster, I’m trying to start ingesting but was wondering how do I point datahub to the newly deployed instance? I tried
Copy code
datahub init
but not sure where to get the host from? Tried GMS’ endpoint :8080 but that didn’t work. Any pointers?
h
hi @Tim, the host would be the address of the GMS pod on your k8 cluster.
s
If you're using the helm chart and have the UI actions pod deployed, I test it out from there. By exporting DATAHUB_GMS_HOST=http://catalog-datahub-gms:8080 and then running the cli on the action pod from tbere
If you have auth to gms enabled you'll need to set DATAHUB_GMS_TOKEN as well
If you're trying to ingest from outside the cluster, that would be subject to your load balancer setup and ingress to gms
m
Thank you @helpful-optician-78938 and @square-eye-43731, I’m trying to run datahub init from my local computer so does it mean I’d have to set up LB ingress to my gms? If so is there a guide/doc outlying that? I’m following this guide and it’s only showing frontend ingress https://datahubproject.io/docs/deploy/aws
s
Yeah, I think you'll need to go the load balancer route. I backed off of that approach because it wasn't totally clear on how to do it, but I see how it could work in the gms sub chart
I have an haproxy ingress already, so did an end run there and just route the gms calls through my ingress to the gms service.
plus1 1