k8s nfs install

2021/01/05 k8s 共 416 字,約 2 分鐘
emerge nfs-utils rpcbind
rc-service nfsmount start
showmount -e 10.x.x.x

patch (for k8s v1.20+)

9,10c9,11
<   repository: quay.io/external_storage/nfs-client-provisioner
<   tag: v3.1.0-k8s1.11
---
>   #repository: quay.io/external_storage/nfs-client-provisioner
>   repository: groundhog2k/nfs-subdir-external-provisioner
>   tag: v3.2.0
14,15c15,16
<   server:
<   path: /ifs/kubernetes
---
>   server: 10.168.100.21
>   path: /volume1/[pathToDir]

文章訊息

Search

    Table of Contents