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

Javier Llorente Mañas

03/21/2022, 1:25 PM
Hi folks, I am trying to understand how Dagster works. I see that the user-code-deployments on its template got a connection to the Database, although later looking at the architectural diagram it seems that the user-code-deployment component is not connected to the Database. Why does the user-code-deployment need to connect to the Database?
d

daniel

03/21/2022, 1:44 PM
Hi Javier - an example of when it would need to is if you were running a sensor that was sourcing runs to access the dagster DB (for example, an asset sensor that launches a run every time a Dagster asset is materialized).
j

Javier Llorente Mañas

03/21/2022, 1:48 PM
Ahhh ok got it! thanks! @daniel