Installing acryl-datahub[hana] in Kubernetes Environment

Original Slack Thread

where i can run pip install ‘acryl-datahub[hana]’ in k8s

Hey there! :wave:

<@U06TM7M40RK> Can you help with the questions in this thread?

:information_source: Please continue to tag RunLLM (e.g <@U06TM7M40RK>) to have it continue generating responses!

To install the acryl-datahub[hana] package in a Kubernetes environment, you have a couple of options:

  1. Custom Docker Image:

    • Create a custom Docker image that includes the acryl-datahub[hana] package. This involves writing a Dockerfile that installs the package and then using this image in your Kubernetes deployment.

    • Here is an example Dockerfile:

      FROM datahubproject/datahub-ingestion:latest
      
      RUN pip install 'acryl-datahub[hana]'
      
    • Build and push this image to your container registry:

      docker build -t your-registry/datahub-ingestion:hana .
      docker push your-registry/datahub-ingestion:hana
      
    • Modify your Kubernetes deployment to use this custom image.

  2. Helm Chart Customization:

    • If you are using Helm for deployment, you can customize the Helm chart to use your custom Docker image as described above.
  3. Kubernetes Job:

    • Another approach is to create a Kubernetes job that runs a container with the necessary package installed. This job can be triggered to perform the ingestion task.
  4. Using a Jump Host:

    • As suggested in some discussions, you can use a jump host or a separate server that has network access to your SAP HANA database. Install the package there and run the ingestion job from that host.

For more detailed steps on creating a custom Docker image or setting up a Kubernetes job, please let me know.

Sources:

  • <Slack Slack Discussion> :+1: 0 button :-1: 0 button :bulb: Hint: Mention @runllm in the thread for followups.

Hi, how did my answer work out for you? Need any more assistance? You can also tag <@U07FV3UHE4D> to let your fellow community members know you’re still looking for guidance.

Hi :slight_smile: ! Did this interaction resolve your issue or do you still require assistance ?

Please tag @ RunLLM if you still need further assistance !

Or tag @Datahub Community Support if you require a person to take a look :slight_smile:

Hope this helps ! ><