Skip to content

Commit c833660

Browse files
authored
Merge pull request #46538 from my-git9/pt-1038
[zh-cn] sync pod-lifecycle
2 parents 3db7eb1 + 5da1146 commit c833660

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh-cn/docs/concepts/workloads/pods/pod-lifecycle.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ To investigate the root cause of a `CrashLoopBackOff` issue, a user can:
386386
在本地或开发环境中运行此容器镜像有助于诊断应用程序的特定问题。
387387

388388
<!--
389-
## Container restart policy {#restart-policy}
389+
### Container restart policy {#restart-policy}
390390
391391
The `spec` of a Pod has a `restartPolicy` field with possible values Always, OnFailure,
392392
and Never. The default value is Always.
@@ -403,7 +403,7 @@ the Pod level `restartPolicy` is either `OnFailure` or `Always`.
403403
* `OnFailure`: Only restarts the container if it exits with an error (non-zero exit status).
404404
* `Never`: Does not automatically restart the terminated container.
405405
-->
406-
## 容器重启策略 {#restart-policy}
406+
### 容器重启策略 {#restart-policy}
407407

408408
Pod 的 `spec` 中包含一个 `restartPolicy` 字段,其可能取值包括
409409
Always、OnFailure 和 Never。默认值是 Always。

0 commit comments

Comments
 (0)