Skip to content

Commit 470e7f4

Browse files
committed
update
1 parent d10bd3a commit 470e7f4

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/en/kuberay/how_to/rayjob.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ For more details, refer to [RayJob Quickstart](https://docs.ray.io/en/latest/clu
3636

3737
### Step-by-Step Instructions
3838

39-
### Step 1: Install a RayJob
39+
#### Step 1: Install a RayJob
4040

4141
Create a file named `rayjob.yaml` with the following content:
4242
```yaml
@@ -153,7 +153,7 @@ kubectl apply -f rayjob.yaml
153153
```
154154

155155

156-
### Step 2: Verify the Kubernetes cluster status
156+
#### Step 2: Verify the Kubernetes cluster status
157157

158158
```bash
159159
# Step 2.1: List all RayJob custom resources in the `default` namespace.
@@ -195,7 +195,7 @@ the entrypoint is python `/home/ray/samples/sample_code.py`, and `sample_code.py
195195
mounted to the head Pod of the RayCluster. Because the default value of `shutdownAfterJobFinishes` is false,
196196
the KubeRay operator doesn't delete the RayCluster or the submitter when the Ray job finishes.
197197

198-
### Step 3: Check the output of the Ray job
198+
#### Step 3: Check the output of the Ray job
199199

200200
```bash
201201
kubectl logs -l=job-name=rayjob-sample
@@ -214,7 +214,7 @@ kubectl logs -l=job-name=rayjob-sample
214214
```
215215
The Python script `sample_code.py` used by `entrypoint` is a simple Ray script that executes a counter's increment function 5 times.
216216

217-
### Step 4: Clean Up
217+
#### Step 4: Clean Up
218218

219219
```bash
220220
kubectl delete -f rayjob.yaml

docs/en/kuberay/how_to/rayservice.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ curl -X POST -H 'Content-Type: application/json' rayservice-sample-serve-svc:800
227227
# [Expected output]: "15 pizzas please!"
228228
```
229229

230-
### Step 5: Clean Up
230+
#### Step 5: Clean Up
231231

232232
```bash
233233
kubectl delete -f rayservice.yaml

0 commit comments

Comments
 (0)