Skip to content

Commit 7bf725e

Browse files
authored
Update user_scenarios.md (#222)
1 parent d988c7b commit 7bf725e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/user_scenarios.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ If your stream has failed, you can set `spec.suspended` to `true` to stop the st
4040
To avoid data loss, you may create a backfill request that fills in any gaps occurred during the failure.
4141
After that, you can set `spec.suspended` to `false` to restart the stream.
4242

43-
## I deleted tha pod and my stream transitioned to failed state, how do I avoid that in the future?
43+
## I deleted the pod and my stream transitioned to failed state, how do I avoid that in the future?
4444
Arcane streaming is built on top of Kubernetes Jobs. By default, when a pod is deleted manually or due to node eviction,
4545
all containers in the pod receive a SIGTERM signal and have a grace period to shut down gracefully **with exit code 0**.
4646
If the containers do not shut down within the grace period, the pod is forcefully terminated. If the pod is terminated
4747
with a non-zero exit code, Kubernetes counts this pod **as failed** and the job may transition to a failed state.
4848
It's a responsibility of the user and/or the plugin developer to ensure that the streaming job handles termination signals
4949
gracefully and exits with code 0 or the exit code that returned by the plugin executable on termination is
50-
[added to the job's podFailurePolicy](https://kubernetes.io/docs/tasks/job/pod-failure-policy/).
50+
[added to the job's podFailurePolicy](https://kubernetes.io/docs/tasks/job/pod-failure-policy/).

0 commit comments

Comments
 (0)