Skip to content

How to get code into deployment using a Dockerfile in a Dagster-dbt project deployed using helm/kubernetes #18520

Answered by RushilDaya
rob-teeuwen asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Rob, I faced the same issue as you, after some experimenting i was able to get it to run.
I feel that the build_cache line in the dockerfile is an error

i did the same thing you did for the docker file. an error i had was that i was building on a macbook which wasn't compatible with my kubernetes cluster (GKE in my case) so i needed to build like this
docker build -t TAG . --platform=linux/amd64

I needed to change my values.yml from what you have though

deployments:
    - name: "my-example"
      image:
        repository: "my-container-registry-link"
        tag: latest
        pullPolicy: Always
      dagsterApiGrpcArgs:
        - "--python-file"
        - "definitions.py"
      port…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@un1xman
Comment options

Answer selected by garethbrickman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
deployment: k8s Related to deploying Dagster to Kubernetes integration: dbt Related to dagster-dbt
3 participants