-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[zh] Resync configure-liveness-readiness-startup-probes #26314
Conversation
Deploy preview for kubernetes-io-master-staging ready! Built with commit 30d887e https://deploy-preview-26314--kubernetes-io-master-staging.netlify.app |
content/zh/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md
Show resolved
Hide resolved
until a result was returned. | ||
--> | ||
在 Kubernetes 1.20 版本之前,exec 探针会忽略 `timeoutSeconds`:探针会无限期地 | ||
继续运行,甚至可能超过所配置的限期,直到返回结果为止。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
继续运行,甚至可能超过所配置的限期,直到返回结果为止。 | |
探针会无限期地继续运行,甚至可能超过所配置的限期, | |
直到返回结果为止。 |
content/zh/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md
Show resolved
Hide resolved
the process inside the container may keep running even after probe returned failure because of the timeout. | ||
--> | ||
当此缺陷被修复之后,在使用 `dockershim` 容器运行时的 Kubernetes `1.20+` | ||
版本中,对于 exec 探针而言,容器中的进程可能会因为超时值的设置保持持续运行, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
版本中,对于 exec 探针而言,容器中的进程可能会因为超时值的设置保持持续运行, | |
容器中的进程可能会因为超时值的设置保持持续运行,即使探针返回了失败状态。 |
content/zh/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
you should update their probe timeout so that you're ready for the | ||
eventual removal of that feature gate. | ||
--> | ||
这一缺陷在 Kubernetes v1.20 版本中得到修复。你的探针行为可能一直如此,甚至 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这一缺陷在 Kubernetes v1.20 版本中得到修复。你的探针行为可能一直如此,甚至 | |
这一缺陷在 Kubernetes v1.20 版本中得到修复。你可能一直依赖于之前错误的探测行为,甚至 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: SataQiu The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
2be25e5
to
30d887e
Compare
/lgtm |
LGTM label has been added. Git tree hash: ba378f6c1b985ff5fd241b1646f9ae47f1f797c5
|
Related: #26178