diff --git a/content/zh-cn/docs/concepts/cluster-administration/compatibility-version.md b/content/zh-cn/docs/concepts/cluster-administration/compatibility-version.md new file mode 100644 index 0000000000..432255e140 --- /dev/null +++ b/content/zh-cn/docs/concepts/cluster-administration/compatibility-version.md @@ -0,0 +1,65 @@ +--- +title: Kubernetes 控制平面组件的兼容版本 +content_type: concept +weight: 70 +--- + + + + + +自 v1.32 版本发布以来,我们为 Kubernetes 控制平面组件引入了可配置的版本兼容性和仿真选项, +为集群管理员提供更多控制选项并增加可用的细粒度步骤来让升级更加安全。 + + + + +## 仿真版本 {#emulated-version} + +仿真选项通过控制平面组件的 `--emulated-version` 参数来设置。 +此选项允许控制平面组件仿真 Kubernetes 早期版本的行为(API、特性等)。 + + +使用时,可用的功能将与仿真版本相匹配: + +* 在仿真版本之后引入的所有功能在二进制版本中将不可用。 +* 在仿真版本之后移除的所有功能将可用。 + + +这使得特定 Kubernetes 版本的二进制文件能够以足够的精确度仿真之前某个版本的行为, +与其他系统组件的互操作性可以在仿真版本中进行定义。 + + +`--emulated-version` 必须小于或等于 `binaryVersion`。 +有关支持的仿真版本范围,参阅 `--emulated-version` 参数的帮助信息。 diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/selinux-change-policy.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/selinux-change-policy.md new file mode 100644 index 0000000000..78fd0b609f --- /dev/null +++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/selinux-change-policy.md @@ -0,0 +1,30 @@ +--- +title: SELinuxChangePolicy +content_type: feature_gate +_build: + list: never + render: false + +stages: + - stage: alpha + defaultValue: false + fromVersion: "1.32" +--- + + +启用 `spec.securityContext.seLinuxChangePolicy` 字段。 +此字段可用于筛选不希望使用挂载选项来打上 SELinux 标签的 Pod 卷。 +当支持使用 SELinux 挂载选项挂载的单个卷在带有不同 SELinux 标签的 +Pod(例如特权 Pod 和非特权 Pod)之间共享时,此字段是必需的。 + + +想要启用 `SELinuxChangePolicy` 特性门控,需要先启用 `SELinuxMountReadWriteOncePod` 特性门控。 diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/server-side-field-validation.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/server-side-field-validation.md index 42542f5360..a2701b3d71 100644 --- a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/server-side-field-validation.md +++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/server-side-field-validation.md @@ -17,6 +17,9 @@ stages: - stage: stable defaultValue: true fromVersion: "1.27" + toVersion: "1.31" + +removed: true ---