just re-posting my earlier question here, I'm a bi...
# troubleshoot
h
just re-posting my earlier question here, I'm a bit new to DataHub. I've deployed DataHub on K8 using the default helm charts. From what it seems, I will have to configure a LoadBalance to access Kafka from outside the cluster. Is this the recommended approach?. I want to set up DataHub action. Any help will be appreciated. Thank you https://datahubspace.slack.com/archives/C029A3M079U/p1666956408664309
b
Hi Carl! Yes - if you're deploying Kafka as a prerequisite (as opposed to using a managed service like Confluent or AWS MSK), then you will need a LoadBalancer to expose it to the outside world! In order to set up DataHub actions, you already have a DataHub actions pod. All you need to do it mount a configuration file (and action definition) in the right place inside the
datahub-actions
container -> https://github.com/acryldata/datahub-actions/blob/main/docs/guides/developing-an-action.md#step-2-installing-the-action
h
Thank you @big-carpet-38439! Just one small bit. In the
datahub-actions
container, the
start_datahub_actions.sh
script runs the user actions from
/etc/datahub/actions/conf/
folder. I'm thinking this is the right place to mount my configuration and action definition file, is this correct?
Hi @big-carpet-38439. I'm still getting familiar with DataHub. I deployed actions successfully, thank you. I mounted my config and action definition files in the
home
folder in the
data hub-actions
container. But I'm having to exec into the docker container to run the actions. Is this the right way? I can understand that this is because the python runtime and data hub-actions cli are all present in the container. Is there a way to run the actions without the need to exec into the `datahub-action`` container? I know this is a bit of a rumble, but just trying to know the recommended way to set things up. Thank you