Skip to content

Commit

Permalink
[Doc] Fix the order of comments in sample Job YAML file (#1242)
Browse files Browse the repository at this point in the history
The docstring of runtimeEnv didn't appear right above the runtimeEnv field. This PR fixes the issue.

---------

Signed-off-by: Archit Kulkarni <[email protected]>
  • Loading branch information
architkulkarni committed Jul 18, 2023
1 parent 4b75753 commit b26f106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ray-operator/config/samples/ray_v1alpha1_rayjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ metadata:
name: rayjob-sample
spec:
entrypoint: python /home/ray/samples/sample_code.py
# ShutdownAfterJobFinishes specifies whether the RayCluster should be deleted after the RayJob finishes. Default is false.
shutdownAfterJobFinishes: true
# runtimeEnv decoded to '{
# "pip": [
# "requests==2.26.0",
Expand All @@ -13,8 +15,6 @@ spec:
# "counter_name": "test_counter"
# }
#}'
# ShutdownAfterJobFinishes specifies whether the RayCluster should be deleted after the RayJob finishes. Default is false.
shutdownAfterJobFinishes: false
runtimeEnv: ewogICAgInBpcCI6IFsKICAgICAgICAicmVxdWVzdHM9PTIuMjYuMCIsCiAgICAgICAgInBlbmR1bHVtPT0yLjEuMiIKICAgIF0sCiAgICAiZW52X3ZhcnMiOiB7ImNvdW50ZXJfbmFtZSI6ICJ0ZXN0X2NvdW50ZXIifQp9Cg==
# Suspend specifies whether the RayJob controller should create a RayCluster instance.
# If a job is applied with the suspend field set to true, the RayCluster will not be created and we will wait for the transition to false.
Expand Down

0 comments on commit b26f106

Please sign in to comment.