Skip to content

How do I set per-code-location deployment configuration in Docker/K8s/ECS? #12621

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

You must be logged in to vote

In Kubernetes:
Individual code locations can be configured in the Helm chart in the "dagster-user-deployments" part of the Helm chart, and that configuration will be automatically passed through to any launched runs as well - see https://docs.dagster.io/deployment/guides/kubernetes/deploying-with-helm#step-61-configure-the-deployment for an example.

(The Helm chart uses the same DAGSTER_CONTAINER_CONTEXT environment variable under the hood)

In ECS:
Similar to the Docker example above, you can set the DAGSTER_CONTAINER_CONTEXT environment variable with an "ecs" key to configure ECS-specific configuration for launched runs from the gRPC server's code location. For example, to say that all r…

Replies: 2 comments 1 reply

Comment options

gibsondan
Mar 1, 2023
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by gibsondan
Comment options

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

gibsondan Sep 28, 2023
Maintainer Author

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 area: deployment Related to deploying Dagster area: code-locations Related to Code Locations and Definitions
2 participants