跳转到主内容

Trident 是否适用于设置非正常节点关闭(NGNS),而无需在 Kubernetes 上进行配置

Views:
290
Visibility:
Public
Votes:
0
Category:
astra_trident
Specialty:
snapx
Last Updated:

适用于

Trident

Kubernetes 

回答

  • 在未为非优雅节点关闭(NGNS)配置 Kubernetes 的情况下启用 Trident 的 enableForceDetach 功能可能会导致意外后果。
  • Trident 中的 enableForceDetach 功能旨在与 Kubernetes 的 NGNS 配合使用,以便在意外节点故障期间安全管理存储资源。
  • 如果未启用 NGNS,强制分离卷可能会导致数据不一致或损坏。因此,在 Trident 中启用 enableForceDetach 之前,务必确保在 Kubernetes 集群中正确配置 NGNS。
  • 请参阅 Trident 文档 和 Kubernetes 文档:
  • 如果修改 CustomResourceDefinition(CRD)YAML 以设置 enableForceDetach: True 并应用该配置,Trident 将接受 此配置更改。但是,这会绕过现有的保障机制,并可能导致上述问题。

潜在风险:

  • 意外的卷行为*:如果节点发生非正常故障,Trident 可能会尝试强制分离卷,即使 Kubernetes 不知道 NGNS,这可能会导致数据完整性问题或冲突。
  • 不支持的配置:由于 NGNS 旨在与 **enableForceDetach 配合使用,在禁用 NGNS 的情况下运行 Trident 并启用 **enableForceDetach* 可能会导致未定义的行为。

结束语:

  • 如果您的目标是 *enableForceDetach*,最好在 Kubernetes 中启用 NGNS,以确保受支持且稳定的配置。
  • 我们建议在启用 Trident 的 "enableForceDetach" 选项之前,先在 Kubernetes 中启用 NGNS。

追加信息

追加信息文本

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.