diff --git a/content/zh-cn/docs/concepts/workloads/pods/ephemeral-containers.md b/content/zh-cn/docs/concepts/workloads/pods/ephemeral-containers.md index 054554bda5..3e2beb7bc0 100644 --- a/content/zh-cn/docs/concepts/workloads/pods/ephemeral-containers.md +++ b/content/zh-cn/docs/concepts/workloads/pods/ephemeral-containers.md @@ -5,6 +5,9 @@ weight: 80 --- -- 临时容器没有端口配置,因此像 `ports`,`livenessProbe`,`readinessProbe` +- 临时容器没有端口配置,因此像 `ports`、`livenessProbe`、`readinessProbe` 这样的字段是不允许的。 - Pod 资源分配是不可变的,因此 `resources` 配置是不允许的。 - 有关允许字段的完整列表,请参见 @@ -94,6 +97,13 @@ after you have added it to a Pod. --> 与常规容器一样,将临时容器添加到 Pod 后,将不能更改或删除临时容器。 +{{< note >}} + +临时容器不被[静态 Pod](/zh-cn/docs/tasks/configure-pod-container/static-pod/) 支持。 +{{< /note >}} + -使用临时容器时,启用 -[进程名字空间共享](/zh-cn/docs/tasks/configure-pod-container/share-process-namespace/) -很有帮助,可以查看其他容器中的进程。 +使用临时容器时, +启用[进程名字空间共享](/zh-cn/docs/tasks/configure-pod-container/share-process-namespace/)很有帮助, +可以查看其他容器中的进程。 {{% heading "whatsnext" %}} +