Skip to content

Commit 8c18e3c

Browse files
authored
Merge pull request #48272 from windsonsea/remlink
[zh] Add feature-gates/RemoveSelfLink.md
2 parents ce0715e + bc30028 commit 8c18e3c

File tree

1 file changed

+33
-0
lines changed
  • content/zh-cn/docs/reference/command-line-tools-reference/feature-gates

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: RemoveSelfLink
3+
content_type: feature_gate
4+
_build:
5+
list: never
6+
render: false
7+
8+
stages:
9+
- stage: alpha
10+
defaultValue: false
11+
fromVersion: "1.16"
12+
toVersion: "1.19"
13+
- stage: beta
14+
defaultValue: true
15+
fromVersion: "1.20"
16+
toVersion: "1.23"
17+
- stage: stable
18+
defaultValue: true
19+
fromVersion: "1.24"
20+
toVersion: "1.29"
21+
22+
removed: true
23+
---
24+
25+
<!--
26+
Sets the `.metadata.selfLink` field to blank (empty string) for all
27+
objects and collections. This field has been deprecated since the Kubernetes v1.16
28+
release. When this feature is enabled, the `.metadata.selfLink` field remains part of
29+
the Kubernetes API, but is always unset.
30+
-->
31+
为所有对象和集合将 `.metadata.selfLink` 字段设置为空(空字符串)。
32+
此字段自 Kubernetes v1.16 版本以来已被弃用。
33+
当此特性被启用时,`.metadata.selfLink` 字段仍然是 Kubernetes API 的一部分,但始终不设置。

0 commit comments

Comments
 (0)