跳转到主内容

当 Trident 删除 PVC 时,如何应用 ONTAP 卷的跳过恢复队列?

Views:
82
Visibility:
Public
Votes:
0
Category:
trident-kubernetes
Specialty:
snapx
Last Updated:

适用于

  • Trident 26.02 或更高版本
  • ONTAP 9

回答

当 Trident 删除 PVC 时,将在以下任一情况下应用 ONTAP 卷的跳过恢复队列功能:
  • PVC 有一个注释 trident.netapp.io/skipRecoveryQueue: "true"
  • 后端的卷配置选项包括 skipRecoveryQueue: "true"

注: 

  1. 如果 PVC 具有批注 trident.netapp.io/skipRecoveryQueue: "false",则即使后端的卷配置选项包括 skipRecoveryQueue: "true",也不会应用跳过恢复队列功能。
  2. skipRecoveryQueue  在 PVC 上的批注: Trident 当前  支持在 PVC 创建后将 skipRecoveryQueue 批注应用于 PVC。批注必须在初始创建时包含在 PVC YAML 中。
  3. skipRecoveryQueue  在后端配置中: 参数必须嵌套在后端 JSON 的 "defaults"  部分下,值 "true"  必须作为 字符串传递(而不是布尔值)。
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.