天天看點

K8s 應用NFS建立 PV

# NFS Server Install

<code>yum install -y nfs-utils</code>

NFS Client

 1.目錄方式挂載

  在nfs伺服器寫入檔案,在nfs用戶端檢視

<code> cat /root/nfsmount/test.txt</code>

 2.pv/pvc方式挂載

[email protected]

繼續閱讀