rsize と wsize は、 NFS PersistentVolume のマウントオプションには反映されません
環境
- トライデント
- Kubernetes (クベルネ
- ONTAP 9
- NFS
mountOptions
StorageClassnfsMountOptions
または Trident バックエンドの rsize または wsize で指定
問題
StorageClass または Trident バックエンドの設定で指定した rsize と wsize は、 NFS PersistentVolume のマウントオプションには反映されません。
例:
[root@rhel3 setup]# tridentctl get backend BackendForNAS -o yaml -n trident | grep nfsMountOptions
nfsMountOptions: -o nfsvers=4.1,rsize=1048576,wsize=1048576
[root@rhel3 setup]# kubectl exec --stdin --tty pvpod -- /bin/sh
/ # mount | grep trident_pvc
192.168.0.132:/trident_pvc_6e04c629_cc44_4905_88c8_ead3a78c9c93 on /data type nfs4 (rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.0.62,local_lock=none,addr=192.168.0.132)