Skip to content

How can I reload definitions within the Dagster UI without needing to redeploy my code? #14709

Answered by gibsondan
gibsondan asked this question in Q&A
Discussion options

You must be logged in to vote

Dagster uses code servers to isolate user code from Dagster system code. When running dagster dev, Dagster typically manages your code servers for you as subprocesses, and pressing the "Reload" button on the Code Locations tab in the Dagster UI will start a new code server and reload your code.

However, many production deployments of Dagster (e.g. deploying in Docker, ECS, or Kubernetes using our Helm chart) recommend running code servers in separate containers for more isolation, using the dagster api grpc command. The only way to reload your definitions when runningdagster api grpc separately is to restart the process, which typically requires restarting the container or pod on which it…

Replies: 2 comments 4 replies

Comment options

gibsondan
Jun 8, 2023
Maintainer Author

You must be logged in to vote
4 replies
@skwon615
Comment options

@gibsondan
Comment options

gibsondan Jun 12, 2024
Maintainer Author

@skwon615
Comment options

@v1gnesh
Comment options

Answer selected by gibsondan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area: UI/UX Related to User Interface and User Experience area: code-locations Related to Code Locations and Definitions
4 participants