跳转到主内容

升级到 Trident 26.02 后自动卷扩展不起作用

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

适用于

  • NetApp Trident v26.02
  • 使用 Trident 的 Kubernetes 集群
  • ONTAP 后端(例如,AFF-C60)
  • 自动卷扩展(autogrow)功能

问题

自动卷(LUN)扩展在使用 Trident 26.02 的 Kubernetes 集群中不起作用,尽管在 StorageClass 中正确配置了 allowVolumeExpansion  autogrowPolicy 。当超过利用率阈值时,卷不会自动增长。

日志输出和观察行为:

  • Trident 控制器日志中没有与自动增长相关的错误。
  • Trident 控制器日志中的"unknown field"警告。
  • TVP (TridentVolumePublication) CRD 缺少字段,例如 autogrowPolicy storageClass backendUUID pool
  • 现有的 TVP 对象不包含与自动增长相关的字段,导致自动增长调度程序忽略配置的策略。

level=debug msg="Syncing volume publications" logLayer=core requestID=dabd4f17-1d1d-4533-9511-d562095cec78 requestSource=Internal vpsRemaining=1 vpsTotal=184 workflow="core=bootstrap"
level=debug msg=">>>>>> syncVolumePublications" logLayer=core nodeName=<node name> requestID=dabd4f17-1d1d-4533-9511-d562095cec78 requestSource=Internal volumeName=pvc-uuid workflow="core=bootstrap"
I0420 13:20:27.353816     1 warnings.go:107] "Warning: unknown field \"backendUUID\""
I0420 13:20:27.353839     1 warnings.go:107] "Warning: unknown field \"pool\""
I0420 13:20:27.353844     1 warnings.go:107] "Warning: unknown field \"storageClass\""

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.