diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/RemoveSelfLink.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/RemoveSelfLink.md new file mode 100644 index 0000000000..047a108466 --- /dev/null +++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/RemoveSelfLink.md @@ -0,0 +1,33 @@ +--- +title: RemoveSelfLink +content_type: feature_gate +_build: + list: never + render: false + +stages: + - stage: alpha + defaultValue: false + fromVersion: "1.16" + toVersion: "1.19" + - stage: beta + defaultValue: true + fromVersion: "1.20" + toVersion: "1.23" + - stage: stable + defaultValue: true + fromVersion: "1.24" + toVersion: "1.29" + +removed: true +--- + + +为所有对象和集合将 `.metadata.selfLink` 字段设置为空(空字符串)。 +此字段自 Kubernetes v1.16 版本以来已被弃用。 +当此特性被启用时,`.metadata.selfLink` 字段仍然是 Kubernetes API 的一部分,但始终不设置。