跳转到主内容

使用 Trident 强制执行 Kubernetes limitVolumeSize 策略:ONTAP 中 SVM 范围角色的聚合可见性限制

Views:
60
Visibility:
Public
Votes:
0
Category:
trident-openshift
Specialty:
snapx
Last Updated:

适用于

  • Astra Trident(Kubernetes CSI 驱动程序)
  • 使用 SVM 范围角色的 Trident 部署(例如, vsadmin

问题

当尝试使用 Trident 配合 SVM 范围的 ONTAP 角色(如 limitVolumeSize )(例如,将 PVC 限制为 400Gi 并限制每个 SVM 40 个卷)来强制执行 Kubernetes 存储策略时,Trident 无法访问聚合级别的容量信息。   vsadmin这会阻止使用 Trident 的 limitAggregateUsage 功能,该功能可在聚合使用量超过阈值时动态阻止资源配置。

示例日志/行为:

  • Trident 无法检索聚合容量详细信息。
  • 尝试为 SVM 范围的用户创建具有聚合可见性的自定义 ONTAP 角色失败。
  • 对于 limitVolumeSize 执行不会抛出任何错误,但 limitAggregateUsage 不起作用。
  • 参考: GitHub Issue #822

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.