@@ -83,7 +83,7 @@ Starting from v1.9, this label is deprecated.
83
83
<!--
84
84
### app.kubernetes.io/instance
85
85
86
- Type: Label
86
+ Type: Label
87
87
88
88
Example: `app.kubernetes.io/instance: "mysql-abcxzy"`
89
89
@@ -765,7 +765,7 @@ This label can have one of three values: `Reconcile`, `EnsureExists`, or `Ignore
765
765
- `Ignore`: Addon resources will be ignored. This mode is useful for add-ons that are not
766
766
compatible with the add-on manager or that are managed by another controller.
767
767
768
- For more details, see [Addon-manager](https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/addon-manager/README.md)
768
+ For more details, see [Addon-manager](https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/addon-manager/README.md).
769
769
-->
770
770
### addonmanager.kubernetes.io/mode
771
771
@@ -785,7 +785,7 @@ For more details, see [Addon-manager](https://github.com/kubernetes/kubernetes/b
785
785
- ` Ignore ` :插件资源将被忽略。此模式对于与外接插件管理器不兼容或由其他控制器管理的插件程序非常有用。
786
786
787
787
有关详细信息,请参见
788
- [ Addon-manager] ( https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/addon-manager/README.md )
788
+ [ Addon-manager] ( https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/addon-manager/README.md ) 。
789
789
790
790
<!--
791
791
### beta.kubernetes.io/arch (deprecated)
@@ -1469,7 +1469,7 @@ Kubernetes makes a few assumptions about the structure of zones and regions:
1469
1469
1470
1470
1. regions and zones are hierarchical: zones are strict subsets of regions and
1471
1471
no zone can be in 2 regions
1472
- 2) zone names are unique across regions; for example region "africa-east-1" might be comprised
1472
+ 2. zone names are unique across regions; for example region "africa-east-1" might be comprised
1473
1473
of zones "africa-east-1a" and "africa-east-1b"
1474
1474
-->
1475
1475
Kubernetes 对 Zone 和 Region 的结构做了一些假设:
@@ -1540,7 +1540,7 @@ Example: `volume.beta.kubernetes.io/storage-provisioner: "k8s.io/minikube-hostpa
1540
1540
Used on: PersistentVolumeClaim
1541
1541
1542
1542
This annotation has been deprecated since v1.23.
1543
- See [volume.kubernetes.io/storage-provisioner](#volume-kubernetes-io-storage-provisioner)
1543
+ See [volume.kubernetes.io/storage-provisioner](#volume-kubernetes-io-storage-provisioner).
1544
1544
-->
1545
1545
### volume.beta.kubernetes.io/storage-provisioner (已弃用) {#volume-beta-kubernetes-io-storage-provisioner}
1546
1546
@@ -1581,7 +1581,7 @@ This annotation has been deprecated. Instead, set the
1581
1581
[`storageClassName` field](/docs/concepts/storage/persistent-volumes/#class)
1582
1582
for the PersistentVolumeClaim or PersistentVolume.
1583
1583
-->
1584
- 此注解可以为 PersistentVolume (PV) 或 PersistentVolumeClaim ( PVC) 指定
1584
+ 此注解可以为 PersistentVolume(PV) 或 PersistentVolumeClaim( PVC) 指定
1585
1585
[ StorageClass] ( /zh-cn/docs/concepts/storage/storage-classes/ ) 。
1586
1586
当 ` storageClassName ` 属性和 ` volume.beta.kubernetes.io/storage-class ` 注解均被指定时,
1587
1587
注解 ` volume.beta.kubernetes.io/storage-class ` 将优先于 ` storageClassName ` 属性。
@@ -1997,7 +1997,7 @@ resource without a class specified will be assigned this default class.
1997
1997
资源将被设置为此默认类。
1998
1998
1999
1999
<!--
2000
- ### alpha.kubernetes.io/provided-node-ip
2000
+ ### alpha.kubernetes.io/provided-node-ip (alpha) {#alpha-kubernetes-io-provided-node-ip}
2001
2001
2002
2002
Type: Annotation
2003
2003
@@ -2012,7 +2012,7 @@ and legacy in-tree cloud providers), it sets this annotation on the Node to deno
2012
2012
set from the command line flag (`--node-ip`). This IP is verified with the cloud provider as valid
2013
2013
by the cloud-controller-manager.
2014
2014
-->
2015
- ### alpha.kubernetes.io/provided-node-ip {#alpha-kubernetes-io-provided-node-ip}
2015
+ ### alpha.kubernetes.io/provided-node-ip (alpha) {#alpha-kubernetes-io-provided-node-ip}
2016
2016
2017
2017
类别:注解
2018
2018
@@ -2094,8 +2094,7 @@ container.
2094
2094
<!--
2095
2095
This annotation is deprecated. You should use the
2096
2096
[`kubectl.kubernetes.io/default-container`](#kubectl-kubernetes-io-default-container)
2097
- annotation instead.
2098
- Kubernetes versions 1.25 and newer ignore this annotation.
2097
+ annotation instead. Kubernetes versions 1.25 and newer ignore this annotation.
2099
2098
-->
2100
2099
此注解已被弃用。取而代之的是使用
2101
2100
[ ` kubectl.kubernetes.io/default-container ` ] ( #kubectl-kubernetes-io-default-container ) 注解。
@@ -2143,11 +2142,8 @@ Example: `batch.kubernetes.io/job-tracking: ""`
2143
2142
2144
2143
Used on: Jobs
2145
2144
2146
- The presence of this annotation on a Job indicates that the control plane is
2145
+ The presence of this annotation on a Job used to indicate that the control plane is
2147
2146
[tracking the Job status using finalizers](/docs/concepts/workloads/controllers/job/#job-tracking-with-finalizers).
2148
- The control plane uses this annotation to safely transition to tracking Jobs
2149
- using finalizers, while the feature is in development.
2150
- You should **not** manually add or remove this annotation.
2151
2147
-->
2152
2148
### batch.kubernetes.io/job-tracking (已弃用) {#batch-kubernetes-io-job-tracking}
2153
2149
@@ -2158,18 +2154,13 @@ You should **not** manually add or remove this annotation.
2158
2154
用于:Job
2159
2155
2160
2156
Job 上存在此注解表明控制平面正在[ 使用 Finalizer 追踪 Job] ( /zh-cn/docs/concepts/workloads/controllers/job/#job-tracking-with-finalizers ) 。
2161
- 控制平面使用此注解来安全地转换为使用 Finalizer 追踪 Job,而此特性正在开发中。
2162
- 你 ** 不** 可以手动添加或删除此注解。
2163
2157
2164
- {{< note >}}
2165
2158
<!--
2166
- Starting from Kubernetes 1.26, this annotation is deprecated.
2167
- Kubernetes 1.27 and newer will ignore this annotation and always track Jobs
2168
- using finalizers.
2159
+ Adding or removing this annotation no longer has an effect (Kubernetes v1.27 and later)
2160
+ All Jobs are tracked with finalizers.
2169
2161
-->
2170
- 从 Kubernetes 1.26 开始,该注解被弃用。
2171
- Kubernetes 1.27 及以上版本将忽略此注解,并始终使用 Finalizer 追踪 Job。
2172
- {{< /note >}}
2162
+ 添加或删除此注解不再有效(Kubernetes v1.27 及更高版本),
2163
+ 所有 Job 均通过 Finalizer 进行追踪。
2173
2164
2174
2165
<!--
2175
2166
### job-name (deprecated) {#job-name}
@@ -2605,7 +2596,7 @@ Type: Label
2605
2596
2606
2597
Example: `feature.node.kubernetes.io/network-sriov.capable: "true"`
2607
2598
2608
- Used on: Node
2599
+ Used on: Node
2609
2600
2610
2601
These labels are used by the Node Feature Discovery (NFD) component to advertise
2611
2602
features on a node. All built-in labels use the `feature.node.kubernetes.io` label
@@ -3975,7 +3966,7 @@ ignores that node while calculating Topology Aware Hints.
3975
3966
3976
3967
类别:标签
3977
3968
3978
- 用于: 节点
3969
+ 用于:节点
3979
3970
3980
3971
用来指示该节点用于运行控制平面组件的标记标签。Kubeadm 工具将此标签应用于其管理的控制平面节点。
3981
3972
其他集群管理工具通常也会设置此污点。
0 commit comments