Promote EphemeralContainers to beta
This commit is contained in:
parent
1466530a49
commit
771ee157a9
|
@ -9,22 +9,13 @@ weight: 80
|
||||||
|
|
||||||
<!-- overview -->
|
<!-- overview -->
|
||||||
|
|
||||||
{{< feature-state state="alpha" for_k8s_version="v1.22" >}}
|
{{< feature-state state="beta" for_k8s_version="v1.23" >}}
|
||||||
|
|
||||||
This page provides an overview of ephemeral containers: a special type of container
|
This page provides an overview of ephemeral containers: a special type of container
|
||||||
that runs temporarily in an existing {{< glossary_tooltip term_id="pod" >}} to
|
that runs temporarily in an existing {{< glossary_tooltip term_id="pod" >}} to
|
||||||
accomplish user-initiated actions such as troubleshooting. You use ephemeral
|
accomplish user-initiated actions such as troubleshooting. You use ephemeral
|
||||||
containers to inspect services rather than to build applications.
|
containers to inspect services rather than to build applications.
|
||||||
|
|
||||||
{{< warning >}}
|
|
||||||
Ephemeral containers are in alpha state and are not suitable for production
|
|
||||||
clusters. In accordance with the [Kubernetes Deprecation Policy](
|
|
||||||
/docs/reference/using-api/deprecation-policy/), this alpha feature could change
|
|
||||||
significantly in the future or be removed entirely.
|
|
||||||
{{< /warning >}}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- body -->
|
<!-- body -->
|
||||||
|
|
||||||
## Understanding ephemeral containers
|
## Understanding ephemeral containers
|
||||||
|
|
|
@ -106,7 +106,8 @@ different Kubernetes components.
|
||||||
| `EfficientWatchResumption` | `true` | Beta | 1.21 | |
|
| `EfficientWatchResumption` | `true` | Beta | 1.21 | |
|
||||||
| `EndpointSliceTerminatingCondition` | `false` | Alpha | 1.20 | 1.21 |
|
| `EndpointSliceTerminatingCondition` | `false` | Alpha | 1.20 | 1.21 |
|
||||||
| `EndpointSliceTerminatingCondition` | `true` | Beta | 1.22 | |
|
| `EndpointSliceTerminatingCondition` | `true` | Beta | 1.22 | |
|
||||||
| `EphemeralContainers` | `false` | Alpha | 1.16 | |
|
| `EphemeralContainers` | `false` | Alpha | 1.16 | 1.22 |
|
||||||
|
| `EphemeralContainers` | `true` | Beta | 1.23 | |
|
||||||
| `ExpandCSIVolumes` | `false` | Alpha | 1.14 | 1.15 |
|
| `ExpandCSIVolumes` | `false` | Alpha | 1.14 | 1.15 |
|
||||||
| `ExpandCSIVolumes` | `true` | Beta | 1.16 | |
|
| `ExpandCSIVolumes` | `true` | Beta | 1.16 | |
|
||||||
| `ExpandedDNSConfig` | `false` | Alpha | 1.22 | |
|
| `ExpandedDNSConfig` | `false` | Alpha | 1.22 | |
|
||||||
|
|
|
@ -73,7 +73,7 @@ For more details, see [Get a Shell to a Running Container](
|
||||||
|
|
||||||
## Debugging with an ephemeral debug container {#ephemeral-container}
|
## Debugging with an ephemeral debug container {#ephemeral-container}
|
||||||
|
|
||||||
{{< feature-state state="alpha" for_k8s_version="v1.22" >}}
|
{{< feature-state state="beta" for_k8s_version="v1.23" >}}
|
||||||
|
|
||||||
{{< glossary_tooltip text="Ephemeral containers" term_id="ephemeral-container" >}}
|
{{< glossary_tooltip text="Ephemeral containers" term_id="ephemeral-container" >}}
|
||||||
are useful for interactive troubleshooting when `kubectl exec` is insufficient
|
are useful for interactive troubleshooting when `kubectl exec` is insufficient
|
||||||
|
@ -83,12 +83,6 @@ https://github.com/GoogleContainerTools/distroless).
|
||||||
|
|
||||||
### Example debugging using ephemeral containers {#ephemeral-container-example}
|
### Example debugging using ephemeral containers {#ephemeral-container-example}
|
||||||
|
|
||||||
{{< note >}}
|
|
||||||
The examples in this section require the `EphemeralContainers` [feature gate](
|
|
||||||
/docs/reference/command-line-tools-reference/feature-gates/) enabled in your
|
|
||||||
cluster and `kubectl` version v1.22 or later.
|
|
||||||
{{< /note >}}
|
|
||||||
|
|
||||||
You can use the `kubectl debug` command to add ephemeral containers to a
|
You can use the `kubectl debug` command to add ephemeral containers to a
|
||||||
running Pod. First, create a pod for the example:
|
running Pod. First, create a pod for the example:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue