@@ -10,7 +10,7 @@ weight: 50
10
10
-->
11
11
12
12
<!-- overview -->
13
- {{< feature-state for_k8s_version="v1.28 " state="alpha " >}}
13
+ {{< feature-state for_k8s_version="v1.29 " state="beta " >}}
14
14
15
15
<!--
16
16
Sidecar containers are the secondary containers that run along with the main
@@ -28,7 +28,7 @@ security, or data synchronization, without directly altering the primary applica
28
28
<!--
29
29
## Enabling sidecar containers
30
30
31
- Starting with Kubernetes 1.28 , a
31
+ Enabled by default with Kubernetes 1.29 , a
32
32
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) named
33
33
`SidecarContainers` allows you to specify a `restartPolicy` for containers listed in a
34
34
Pod's `initContainers` field. These restartable _sidecar_ containers are independent with
@@ -38,7 +38,7 @@ without effecting the main application container and other init containers.
38
38
-->
39
39
## 启用边车容器 {#enabling-sidecar-containers}
40
40
41
- 从 Kubernetes 1.28 开始 ,一个名为 ` SidecarContainers `
41
+ Kubernetes 1.29 默认启用 ,一个名为 ` SidecarContainers `
42
42
的[ 特性门控] ( /zh-cn/docs/reference/command-line-tools-reference/feature-gates/ ) 允许你为
43
43
Pod 的 ` initContainers ` 字段中列出的容器指定 ` restartPolicy ` 。这些可重启的** 边车** 容器与同一
44
44
Pod 内的其他 [ Init 容器] ( /zh-cn/docs/concepts/workloads/pods/init-containers/ ) 及主应用容器相互独立。
@@ -105,14 +105,6 @@ Here's an example of a Job with two containers, one of which is a sidecar:
105
105
106
106
{{% code_sample language="yaml" file="application/job/job-sidecar.yaml" %}}
107
107
108
- <!--
109
- By default, this feature is not available in Kubernetes. To avail this feature, you
110
- need to enable the [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
111
- named `SidecarContainers`.
112
- -->
113
- Kubernetes 默认不提供此特性。要使用此特性,你需要启用名为 ` SidecarContainers `
114
- 的[ 特性门控] ( /zh-cn/docs/reference/command-line-tools-reference/feature-gates/ ) 。
115
-
116
108
<!--
117
109
## Differences from regular containers
118
110
0 commit comments