Install and Configure nfs-server-provisioner
Procedure
-
Add the nfs-server-provisioner helm repo.
helm repo add kvaps https://kvaps.github.io/charts
-
Install the helm chart for the nfs-server-provisioner. Specify the following
parameters:
| Parameter
|
Description
|
Value
|
| persistence.size |
Set this to a value of the NFS PV size |
50Gi |
| persistence.enabled |
Set to ‘true’ to enable NFS |
true |
| persistence.storageClass |
Set this to ‘standard’ |
standard |
| storageClass.create |
Set to ‘true’ |
true |
| storageClass.name |
Set thos to a unique Name |
onedb-nfs-<namespace> |
| storageClass.mountOptions |
|
{vers=4.1} |
- storageClass.name: This is cluster wide so it is recommended to include the
namespace in the name to provide uniqueness.
- storageClass.mountOptions: Onedb has been tested with NFS V4.1
helm install onedb-nfs-server-provisioner kvaps/nfs-server-provisioner \
--version 1.3.1
--set persistence.enabled=true
--set persistence.storageClass="standard”
--set persistence.size=50Gi
--set storageClass.create=true
--set storageClass.name=-onedb-nfs-my-ns
--set storageClass.mountOptions={vers=4.1}
-
The following OneDB helm chart configuration values need to be set to use the NFS
server provisioner.
| Parameter
|
Description
|
Value
|
| nfsserver.enabled |
Set this attribute to ‘true’ to mount ReadWriteMany PVC across all OneDB
server pods. Required for OnBar storage space and logical log backups. If this
attribute value is set to ‘false’ then rest of the “nfsserver” related helm
attributes are ignored. |
true |
| nfsserver.volumeSize |
Set this to a value of the NFS PV size |
50Gi |
| nfsserver.other.enable |
Set to ‘true’ to enable NFS |
true |
| nfsserver.other.storageClass |
Set this to the storage class of the NFS |
onedb-nfs-<namespace> |
- nfsserver.other.storageClass: This is set to the the storageClass name
specified in the creation of the nfs server provisioner
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.