メインコンテンツまでスキップ

Tridentデーモンセットがhost-dirにパスを使用するのはなぜですか。

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

環境

Astra Trident

回答

iscsi-toolsなどのLinuxユーティリティパッケージにアクセスするには、パスを使用したhost-dirアクセスが必要です。

追加情報

Runinng kubectl get daemonset -n <namespace> -o yaml にパラメータが表示されます。
...
hostPath:
     path: /sys
     type: Directory
     name: sys-dir
hostPath:
    path: /
     type: Directory
     name: host-dir
...


パラメータの変更は推奨されません。iSCSIツールにアクセスできないため、原因でマウントの問題が発生します。
Warning  FailedMount  8s (x6 over 24s)  kubelet       MountVolume.MountDevice failed for volume "pvc-1171fffb-9a22-4773-8fcf-236903e54a22" : rpc error: code = Internal desc = rpc error: code = Internal desc = failed to stage volume: unable to attach: open-iscsi tools not found on host

 

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.