updated docs regarding ephemeral pods not being supported by static pods kubernetes/kubernetes#113935

pull/37993/head
Brian McQueen 2022-11-20 19:39:20 -08:00
parent 564a0892dc
commit 65ce32de4e
4 changed files with 12 additions and 1 deletions

View File

@ -52,6 +52,10 @@ possible to add an ephemeral container using `kubectl edit`.
Like regular containers, you may not change or remove an ephemeral container
after you have added it to a Pod.
{{< note >}}
Ephemeral containers are not supported by [static pods](/docs/tasks/configure-pod-container/static-pod/).
{{< /note >}}
## Uses for ephemeral containers
Ephemeral containers are useful for interactive troubleshooting when `kubectl

View File

@ -16,3 +16,4 @@ 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" >}}.

View File

@ -15,4 +15,6 @@ A {{< glossary_tooltip text="pod" term_id="pod" >}} managed directly by the kube
daemon on a specific node,
<!--more-->
without the API server observing it.
without the API server observing it.
Static Pods do not support {{< glossary_tooltip text="ephemeral containers" term_id="ephemeral-container" >}}.

View File

@ -38,6 +38,10 @@ The `spec` of a static Pod cannot refer to other API objects
{{< glossary_tooltip text="Secret" term_id="secret" >}}, etc).
{{< /note >}}
{{< note >}}
Static pods do not support [ephemeral containers](/docs/concepts/workloads/pods/ephemeral-containers/).
{{< /note >}}
## {{% heading "prerequisites" %}}
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}