Im trying to run datahub on k8s using yaml’s very ...
# all-things-deployment
h
Im trying to run datahub on k8s using yaml’s very much inspired by the helm charts found in the repo (we use kustomize). I’m running into problems very similar to:. https://github.com/linkedin/datahub/issues/1642 , and found the appropriate sql command that should fix the issue ( havent tried yet). Just as a sanity check: are there no migrations run on startup of GMS?
I would have expected gms to set up the DB to its liking. Or am i missing something?
b
Are you able to check if MySQL has been initialized properly? You should at least see
metadata_aspects
table in there?
h
I don’t see any tables newly created in the DB (we’re using postgres). I also don’t see any errors in the GMS logs, but do see
Connected to <tcp://XXXXX.rds.amazonaws.com:5432>
closely after startup
Oh and i also get the error about
metadata_aspect
table not existing (same as in the issue above), so the connection to the DB does seem to work
b
I see. In that case you'll need to setup the DB once using this script: https://github.com/linkedin/datahub/blob/master/docker/postgres/init.sql