Merge pull request #38298 from windsonsea/ephcon

[zh] updated glossary/ephemeral-container.md
pull/37875/head
Kubernetes Prow Robot 2022-12-23 18:47:26 -08:00 committed by GitHub
commit 070c036958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -31,8 +31,10 @@ A {{< glossary_tooltip term_id="container" >}} type that you can temporarily run
<!--
If you want to investigate a Pod that's running with problems, you can add an ephemeral container to that Pod and carry out diagnostics. Ephemeral containers have no resource or scheduling guarantees, and you should not use them to run any part of the workload itself.
Ephemeral containers are not supported by {{< glossary_tooltip text="static pods" term_id="static-pod" >}}.
-->
如果想要调查运行中有问题的 Pod可以向该 Pod 添加一个临时容器Ephemeral Container并进行诊断。
临时容器没有资源或调度保证,因此不应该使用它们来运行任何部分的工作负荷本身。
{{{< glossary_tooltip text="静态 Pod" term_id="static-pod" >}} 不支持临时容器。
临时容器没有资源或调度保证,因此不应该使用它们来运行工作负载本身的任何部分。
{{< glossary_tooltip text="静态 Pod" term_id="static-pod" >}} 不支持临时容器。