Max Teiger
04/24/2023, 2:27 PMuser-deployments
option (is there any other way?)
That’s why we need to understand how to run grpc server.
The project’s structure is quite common I think :
.
├── README.md
├── batchAPIs.py
├── batchPipeline
│ ├── Dockerfile.prod
│ ├── README.md
│ ├── batchPipeline
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ ├── assets.py
│ │ ├── resources.py
│ │ ├── run_pipeline.py
│ │ └── testDynamicAssets.py
│ ├── batchPipeline_tests
│ │ ├── __init__.py
│ │ └── test_assets.py
│ ├── pyproject.toml
│ ├── schedules
│ │ └── schedules.db
│ ├── setup.cfg
│ ├── setup.py
│ └── workspace.yaml
├── ...
└── requirements.txt
And to launch a user deployment using your helm, as I understood, we need to launch dagster grpc api <parameters>
do you have an idea on the parameters I need to specify to launch the server ?
To launch with dagit
or dagster dev
I only need to do :
cd batchPipeline
dagit # or dagster dev
NB: This question is related to this earlier topic.chris
04/24/2023, 9:38 PMworkspace.yaml
you actually point at that running grpc server, rather than specify just the workspaceJustin Albinet
04/27/2023, 12:54 PMdagster project scaffold --name my-dagster-project
, if we have one main dagster UI running and we want to add the other projects to this UI we have to use grpc servers that will point to only one python file, so let's say assets.py
?
I must be missing something because in this case the whole project scaffold seems uselesschris
04/27/2023, 4:45 PMJustin Albinet
04/27/2023, 4:47 PM_i_nit__.py
file and my assets in assets.py
in my-dagster-project/my-dagster-project
for examplechris
04/27/2023, 4:50 PMJustin Albinet
04/27/2023, 4:52 PMdagster api grpc --python-file my-dagster-project/my-dagster-project/assets.py --host 0.0.0.0 --port 4266
It's still gonna load definitions in init.py ?chris
04/27/2023, 4:53 PMJustin Albinet
04/27/2023, 5:02 PMMax Teiger
04/27/2023, 5:02 PMJustin Albinet
04/27/2023, 5:03 PMchris
04/27/2023, 6:06 PMJustin Albinet
05/09/2023, 12:44 PM