Skip to content

Commit e11ca25

Browse files
committed
Revise details for sidecar containers
1 parent 5ebf07d commit e11ca25

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

content/en/docs/concepts/workloads/pods/sidecar-containers.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ security, or data synchronization, without directly altering the primary applica
1717

1818
## Enabling sidecar containers
1919

20-
Starting with Kubernetes 1.28, a
20+
Enabled by default with Kubernetes 1.29, a
2121
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) named
2222
`SidecarContainers` allows you to specify a `restartPolicy` for containers listed in a
2323
Pod's `initContainers` field. These restartable _sidecar_ containers are independent with
@@ -57,9 +57,6 @@ has finished.
5757
Here's an example of a Job with two containers, one of which is a sidecar:
5858

5959
{{% code_sample language="yaml" file="application/job/job-sidecar.yaml" %}}
60-
By default, this feature is not available in Kubernetes. To avail this feature, you
61-
need to enable the [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
62-
named `SidecarContainers`.
6360

6461
## Differences from regular containers
6562

content/en/docs/reference/command-line-tools-reference/feature-gates/sidecar-containers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ _build:
77
---
88
Allow setting the `restartPolicy` of an init container to
99
`Always` so that the container becomes a sidecar container (restartable init containers).
10-
11-
See [Sidecar containers and restartPolicy](/docs/concepts/workloads/pods/init-containers/#sidecar-containers-and-restartpolicy)
10+
See [Sidecar containers and restartPolicy](/docs/concepts/workloads/pods/sidecar-containers/)
11+
for more details.

0 commit comments

Comments
 (0)