Documentation ¶
Index ¶
Constants ¶
View Source
const ( // VolumeGidAnnotationKey is the key of the annotation on the PersistentVolume // object that specifies a supplemental GID. VolumeGidAnnotationKey = "pv.beta.kubernetes.io/gid" // MountOptionAnnotation is the annotation on a PV object that specifies a // comma separated list of mount options MountOptionAnnotation = "volume.beta.kubernetes.io/mount-options" )
View Source
const ( // ExportID = 152 is being reserved // so that 152.152 is not used as filesystem_id in nfs-ganesha export configuration // 152.152 is the default pseudo root filesystem ID // Ref: https://github.com/kubernetes-sigs/nfs-ganesha-server-and-external-provisioner/issues/7 ReservedExportID = 152 )
Variables ¶
This section is empty.
Functions ¶
func NewNFSProvisioner ¶
func NewNFSProvisioner(exportDir string, client kubernetes.Interface, outOfCluster bool, useGanesha bool, ganeshaConfig string, enableXfsQuota bool, serverHostname string, maxExports int, exportSubnet string) controller.Provisioner
NewNFSProvisioner creates a Provisioner that provisions NFS PVs backed by the given directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.