-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbasic.txt
36 lines (26 loc) · 1.42 KB
/
basic.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Directory:
- basic.py
- basic.yaml
The yaml file specifies links to the python code, so directory structure
matters (unless using absolute links).
------------------------------------------------------------------------------
** Deploying Code: Status quo (Still allowed in new proposal) **
(base) operationalizing_examples $ python basic.py
... Logging statements about deploying the deployments ...
... The Python file basic.py is run ...
------------------------------------------------------------------------------
------------------------------------------------------------------------------
** Deploying Code: With yaml **
(base) operationalizing_examples $ serve deploy basic.yaml
... Connects to remote Ray cluster ...
... Deploys deployments in specified Deployment_Order ...
------------------------------------------------------------------------------
------------------------------------------------------------------------------
** Making a Config Change **
(base) operationalizing_examples $ serve deploy basic.yaml
... Logging statements about updating the deployments specified in basic.yaml ...
... Essentially equivalent to "Deploying Code: With yaml"
------------------------------------------------------------------------------
------------------------------------------------------------------------------
** Making a Code Change **
This is performed by then Deploying Code (either with python or serve deploy)