Skip to content

Commit

Permalink
update SidecarContainers to stable in v1.33
Browse files Browse the repository at this point in the history
  • Loading branch information
pacoxu committed Feb 8, 2025
1 parent 464cc34 commit 65711f3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/en/docs/concepts/workloads/pods/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ By default, init containers run and complete before the app containers are start
You can also have [sidecar containers](/docs/concepts/workloads/pods/sidecar-containers/)
that provide auxiliary services to the main application Pod (for example: a service mesh).

{{< feature-state for_k8s_version="v1.29" state="beta" >}}
{{< feature-state feature_gate_name="SidecarContainers" >}}

Enabled by default, the `SidecarContainers` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
allows you to specify `restartPolicy: Always` for init containers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ stages:
- stage: beta
defaultValue: true
fromVersion: "1.29"
- stage: stable
defaultValue: true
fromVersion: "1.33"
---
Allow setting the `restartPolicy` of an init container to
`Always` so that the container becomes a sidecar container (restartable init containers).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Adopting Sidecar Containers
content_type: tutorial
weight: 40
min-kubernetes-server-version: 1.29
min-kubernetes-server-version: 1.28
---

<!-- overview -->
Expand Down

0 comments on commit 65711f3

Please sign in to comment.