@@ -88,7 +88,7 @@ namespace, here you need to use the one you've chosen.
88
88
> :warning : Note the user and password are hard coded inside the yaml
89
89
file.
90
90
91
- > :hint : Note we use the -local.yaml file. This is because this is a
91
+ > :bulb : Note we use the -local.yaml file. This is because this is a
92
92
demo and we are not using external storage. On a production environment,
93
93
you should consider using volume claims.
94
94
@@ -104,7 +104,7 @@ install mongodb.
104
104
> :warning : Note the user and password are hard coded inside the yaml
105
105
file.
106
106
107
- > : hint : Note we use the -local.yaml file, so storage is not persisted.
107
+ > : bulb : Note we use the -local.yaml file, so storage is not persisted.
108
108
For production, you should consider using volume claims.
109
109
110
110
Next, let's install minio, a "like s3" service.
@@ -128,7 +128,7 @@ dependency, which are argo workflows.
128
128
129
129
``` helm upgrade -i -n monai -f argo-workflows.yaml argo-workflows argo/argo-workflows ```
130
130
131
- > :Warning : Note that we are setting up the authentication method for
131
+ > :warning : Note that we are setting up the authentication method for
132
132
demonstration purposes. You might want to review this for production envs.
133
133
134
134
You need to have some admin permissions so that new deployments can be
@@ -154,23 +154,25 @@ Now, let's install the Monai Project components.
154
154
155
155
Easy, right?
156
156
157
- > :Hint : If you look at the yaml file, you will notice that we setting
157
+ > :bulb : If you look at the yaml file, you will notice that we setting
158
158
the container image and the tag name to pull. We are using the devel
159
159
image from the github registry. You may want to change that and use a
160
160
more stable release for production environments and even pull t hem from
161
161
a private container registry.
162
- > :Hint: In the yaml file, you will see that there are the secrets for
162
+
163
+ > :bulbt: In the yaml file, you will see that there are the secrets for
163
164
mongodb and minio. In case you changed them earlier, you should change
164
165
them as well in this yaml file. Not only the secrets, but also the
165
166
endpoints. The endpoints are the name of the service in your kubernetes
166
167
cluster. You can get this with ` kubectl get services ` .
167
- > :Hint: You can see in the yaml file that there is a specific syntax
168
+
169
+ > :bulb : You can see in the yaml file that there is a specific syntax
168
170
for the configuration environment variables. All configuration variables
169
171
can be overwritten with environment variables in this yaml file. To see
170
172
the list of variables, see the application.settings file in
171
173
src/TaskManager/TaskManager . You will easily guess the syntax ;)
172
174
173
- > :Hint : You can see that we are setting the environment variables
175
+ > :waning : You can see that we are setting the environment variables
174
176
` ASPNETCORE_ENVIRONMENT ` and ` DOTNET_ENVIRONMENT ` . This is to enable
175
177
debug messages and tooling. For production environments you should
176
178
change that.
@@ -181,7 +183,7 @@ change that.
181
183
182
184
``` helm upgrade -i -n monai -f MWM.yaml mwm . ```
183
185
184
- > :Hint: All previous hints warnings in the Monai Task Manager can be
186
+ > All previous : bulb : and :warnings: warnings in the Monai Task Manager can be
185
187
applied.
186
188
187
189
With the Worfklow Manager installed, there is only one last piece to
@@ -197,8 +199,9 @@ install the Monai Informatics Gateway.
197
199
198
200
```
199
201
MIG=$(kubectl get pods --no-headers -o=name --selector=app.kubernetes.io/instance=mig)
200
- kubectl exec -ti ${MIG} -- curl --location --request POST 'http://localhost:5000/config/ae/' --header 'Content-Type: application/json' --data-raw '{ "aeTitle": "MONAISCU", "name": "MONAISCU" }```
202
+ kubectl exec -ti ${MIG} -- curl --location --request POST 'http://localhost:5000/config/ae/' --header 'Content-Type: application/json' --data-raw '{ "aeTitle": "MONAISCU", "name": "MONAISCU" }'
201
203
kubectl exec -ti ${MIG} -- curl --location --request POST http://localhost:5000/config/destination --header 'Content-Type: application/json' --data-raw '{"name": "ORTHANC", "hostIp": "orthanc-monai", "port": 4242, "aeTitle": "ORTHANC"}'
204
+ ```
202
205
203
206
Note without this extra step, you will not be able to connect to and from
204
207
Orthanc.
@@ -211,7 +214,7 @@ And now is time to install Orthanc, the last piece.
211
214
212
215
``` helm upgrade -i -n monai -f orthanc.yaml orthanc . ```
213
216
214
- > :Warning : As before, note credentials are in the yaml file. You should
217
+ > :warning : As before, note credentials are in the yaml file. You should
215
218
change that for production environments.
216
219
217
220
Congrats! You have finish the setup! Now let's test it.
@@ -222,7 +225,7 @@ We need to access the orthanc web interface. We can do this by using port-forwar
222
225
223
226
``` kubectl port-forward services/orthanc-monai 4242:4242 8042:8042 ```
224
227
225
- > :Warning : for production environments, you will need something more
228
+ > :warning : for production environments, you will need something more
226
229
sophisticated, like a load balancer.
227
230
228
231
Now you can open your browser and point it to ` http://127.0.0.1:8042 ` .
@@ -251,7 +254,7 @@ https://github.com/Project-MONAI/monai-deploy/blob/main/e2e-testing/test-scenari
251
254
Review the namespace that should be one you have setup. If you followed
252
255
the example in this README, it should be "monai".
253
256
254
- > :Hint : You could also use curl and use the REST API
257
+ > :bulb : You could also use curl and use the REST API
255
258
256
259
257
260
### Clinical Workflow
@@ -275,7 +278,7 @@ the example in this README, it should be "monai".
275
278
Review the "ae_title" value. If you have followed the example in this
276
279
README, it should be "MONAISCU".
277
280
278
- > :Warning : On a production environment swagger won't be available.
281
+ > :warning : On a production environment swagger won't be available.
279
282
You can still use the REST api.
280
283
281
284
@@ -308,7 +311,7 @@ If you want to uninstall, just run
308
311
sudo /usr/local/bin/k3s-uninstall.sh
309
312
```
310
313
311
- > :Warning : This will erase everything!
314
+ > :warning : This will erase everything!
312
315
313
316
314
317
## Troubleshooting
@@ -485,7 +488,7 @@ e2-standard-2.
485
488
486
489
Now, you can run all the helm and kubectl commands above.
487
490
488
- ```Warning : Using GKE with GPUs will cost you money, be careful with
491
+ ``` warning : Using GKE with GPUs will cost you money, be careful with
489
492
that. ```
490
493
491
494
0 commit comments