Skip to content

Commit

Permalink
Update user-guide.md (kubeflow#830)
Browse files Browse the repository at this point in the history
Expand the description of when to use volumes instead of `/tmp` for scratch space.
  • Loading branch information
liyinan926 authored Mar 5, 2020
1 parent d968a5a commit 6067632
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,9 @@ Note that the mutating admission webhook is needed to use this feature. Please r

### Using Volume For Scratch Space
By default, Spark uses temporary scratch space to spill data to disk during shuffles and other operations.
In order to use volume, volume's name should starts with `spark-local-dir-`.
The scratch directory defaults to `/tmp` of the container.
If that storage isn't enough or you want to use a specific path, you can use one or more volumes.
The volume names should start with `spark-local-dir-`.


```
Expand Down

0 comments on commit 6067632

Please sign in to comment.