Release v0.5.0 python client library validation #1006
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why are these changes needed?
Basic flow for verification cluster
Cover the following examples: use-builder.py, use-director.py, use-raw-config_map_with-api.py, use-raw-with-api.py, use-utils.py.
Setup Ray operator
Comment out the cluster deletion section in the python file.
kuberay/clients/python-client/examples/use-builder.py
Lines 66 to 72 in 00dc45a
Run the example
python3 use-builder.py
Submit a simple ray job to the cluster
Port forwarding
Check cluster dashboard
Additional steps for complete-example.py
Because there is an update of cluster in complete-example.py, we need to verify whether the cluster information is modified as expected. Hence,
input()
is put before the call of modification cluster API(line 62 in complete-example.py) to pause the execution of the example, and two Ray jobs are submitted before and after the modification to see whether the cluster resource is updated as exected.Related issue number
Checks