Skip to content

Commit 6997c93

Browse files
committed
[zh-cn]sync delete-options.md
Signed-off-by: xin.li <[email protected]>
1 parent bc77671 commit 6997c93

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

content/zh-cn/docs/reference/kubernetes-api/common-definitions/delete-options.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,25 @@ DeleteOptions may be provided when deleting an API object.
6666
表示对象被删除之前的持续时间(以秒为单位)。
6767
值必须是非负整数。零值表示立即删除。如果此值为 `nil`,则将使用指定类型的默认宽限期。如果未指定,则为每个对象的默认值。
6868

69+
<!--
70+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (boolean)
71+
72+
if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
73+
-->
74+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (boolean)
75+
76+
如果设置为 true,那么在正常删除流程因对象损坏错误而失败时,将触发资源的不安全删除。
77+
当由于以下原因无法成功从底层存储检索资源时,该资源被视为损坏:
78+
79+
1. 其数据无法转换,例如解密失败;或
80+
2. 它无法解码为一个对象。
81+
82+
注意:不安全删除忽略终结器约束,跳过前提条件检查,并从存储中移除对象。
83+
84+
警告:如果与正在被不安全删除的资源相关联的工作负载依赖于正常的删除流程,
85+
这可能会破坏集群。仅在你真的知道自己在做什么的情况下使用。
86+
默认值是 false,用户必须选择启用它。
87+
6988
<!--
7089
- **kind** (string)
7190

0 commit comments

Comments
 (0)