https://dagster.io/ logo
#deployment-kubernetes
Title
# deployment-kubernetes
j

jonvet

12/16/2021, 12:33 PM
I’d like to run some of my jobs with a sidecar. something tells me that I can perhaps tag my graph/job with
dagster-k8s/config
somehow to specify the details of the sidecar. has anyone done something like this before?
a

Alex Remedios

12/16/2021, 12:35 PM
I ran linkerd as an experiment before and discovered that sidecars are generally not great with
jobs
because they don’t automatically terminate when the main container finishes, causing the pod to hang.
j

jonvet

12/16/2021, 12:37 PM
ah that’s too bad.. I was basically following this article to connect to my cloud DB from within a kubernetes cluster https://cloud.google.com/sql/docs/mysql/connect-kubernetes-engine#proxy I just got it to work on a test pod and wanted to implement it in my dagster pipeline 😞
a

Alex Remedios

12/16/2021, 2:39 PM
yeah, there are ways you can terminate the container when the job ends but i didn’t pursue them