Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions docs/running-on-kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,18 @@ See the [configuration page](configuration.html) for information on Spark config
</td>
<td>4.1.0</td>
</tr>
<tr>
<td><code>spark.kubernetes.allocation.recoveryMode.enabled</code></td>
<td><code>(none)</code></td>
<td>
When Spark driver detects an executor termination due to OOM, Spark starts to
allocate the recovery-mode executors which accept only a single task per executor JVM.
In other words, the recovery-mode executors replace the OOM-terminated executors to
survive from the resource-hungry tasks for the remaining tasks and stages.
If set to <code>false</code>, Spark will not use the recovery-mode executors.
</td>
<td>4.2.0</td>
</tr>
<tr>
<td><code>spark.kubernetes.jars.avoidDownloadSchemes</code></td>
<td><code>(none)</code></td>
Expand Down Expand Up @@ -1747,6 +1759,36 @@ See the [configuration page](configuration.html) for information on Spark config
</td>
<td>3.3.0</td>
</tr>
<tr>
<td><code>spark.kubernetes.executor.resizeInterval</code></td>
<td><code>0s</code></td>
<td>
Interval between executor resize operations. To disable, set 0 (default).
Takes effect only when <code>org.apache.spark.scheduler.cluster.k8s.ExecutorResizePlugin</code>
is registered via <code>spark.plugins</code>.
</td>
<td>4.2.0</td>
</tr>
<tr>
<td><code>spark.kubernetes.executor.resizeThreshold</code></td>
<td><code>0.9</code></td>
<td>
The threshold to resize.
Takes effect only when <code>org.apache.spark.scheduler.cluster.k8s.ExecutorResizePlugin</code>
is registered via <code>spark.plugins</code>.
</td>
<td>4.2.0</td>
</tr>
<tr>
<td><code>spark.kubernetes.executor.resizeFactor</code></td>
<td><code>0.1</code></td>
<td>
The factor to resize.
Takes effect only when <code>org.apache.spark.scheduler.cluster.k8s.ExecutorResizePlugin</code>
is registered via <code>spark.plugins</code>.
</td>
<td>4.2.0</td>
</tr>
</table>

#### Pod template properties
Expand Down