跳转到主内容

有没有什么方法可以验证 Trident 中的并发性是否正常工作?

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

适用于

  • Trident 26.02 及更高版本

回答

  • 检查 tridentOrchestrator 以查看 enableConcurrency 是否已设置
    • $ kubectl get torc trident -o jsonpath='{.status.currentInstallationParams.enableConcurrency}{"\n"}'
  • 查看 Trident Deployment yaml 并确认已为 trident-main 容器设置 enable-concurrency 变量
    • $ kubectl get deploy trident-controller -n trident -o jsonpath='{.spec.template.spec.containers[0].args[*]}{"\n"}' | awk '{for (i=1; i<=NF; i++) if ($i ~ /^--enable_concurrency=/) { print $i; exit }}'

如果设置了并发,则它们都应显示 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.