Merge pull request #48016 from my-git9/pp-9200

[zh-cn] sync encrypt-data configure-liveness-readiness-startup-probes
pull/48014/head^2
Kubernetes Prow Robot 2024-09-21 01:11:58 +01:00 committed by GitHub
commit b421c947b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -368,10 +368,10 @@ to give it precedence.
<!-- <!--
For more detailed information about the `EncryptionConfiguration` struct, please refer to the For more detailed information about the `EncryptionConfiguration` struct, please refer to the
[encryption configuration API](/docs/reference/config-api/apiserver-encryption.v1/). [encryption configuration API](/docs/reference/config-api/apiserver-config.v1/)).
--> -->
有关 `EncryptionConfiguration` 结构体的更多详细信息, 有关 `EncryptionConfiguration` 结构体的更多详细信息,
请参阅[加密配置 API](/zh-cn/docs/reference/config-api/apiserver-encryption.v1/)。 请参阅[加密配置 API](/zh-cn/docs/reference/config-api/apiserver-config.v1/)。
{{< caution >}} {{< caution >}}
<!-- <!--

View File

@ -642,6 +642,8 @@ liveness and readiness checks:
ignored. Defaults to 0 seconds. Minimum value is 0. ignored. Defaults to 0 seconds. Minimum value is 0.
* `periodSeconds`: How often (in seconds) to perform the probe. Default to 10 seconds. * `periodSeconds`: How often (in seconds) to perform the probe. Default to 10 seconds.
The minimum value is 1. The minimum value is 1.
While a container is not Ready, the `ReadinessProbe` may be executed at times other than
the configured `periodSeconds` interval. This is to make the Pod ready faster.
* `timeoutSeconds`: Number of seconds after which the probe times out. * `timeoutSeconds`: Number of seconds after which the probe times out.
Defaults to 1 second. Minimum value is 1. Defaults to 1 second. Minimum value is 1.
* `successThreshold`: Minimum consecutive successes for the probe to be considered successful * `successThreshold`: Minimum consecutive successes for the probe to be considered successful
@ -653,6 +655,8 @@ liveness and readiness checks:
如果 `periodSeconds` 的值大于 `initialDelaySeconds`,则 `initialDelaySeconds` 如果 `periodSeconds` 的值大于 `initialDelaySeconds`,则 `initialDelaySeconds`
将被忽略。默认是 0 秒,最小值是 0。 将被忽略。默认是 0 秒,最小值是 0。
* `periodSeconds`:执行探测的时间间隔(单位是秒)。默认是 10 秒。最小值是 1。 * `periodSeconds`:执行探测的时间间隔(单位是秒)。默认是 10 秒。最小值是 1。
当容器未就绪时,`ReadinessProbe` 可能会在除配置的 `periodSeconds`
间隔以外的时间执行。这是为了让 Pod 更快地达到可用状态。
* `timeoutSeconds`:探测的超时后等待多少秒。默认值是 1 秒。最小值是 1。 * `timeoutSeconds`:探测的超时后等待多少秒。默认值是 1 秒。最小值是 1。
* `successThreshold`:探针在失败后,被视为成功的最小连续成功数。默认值是 1。 * `successThreshold`:探针在失败后,被视为成功的最小连续成功数。默认值是 1。
存活和启动探测的这个值必须是 1。最小值是 1。 存活和启动探测的这个值必须是 1。最小值是 1。