Sign inSign up

mccj/nfs-subdir-external-provisioner

By mccj

•Updated over 5 years ago

Image
0

85

mccj/nfs-subdir-external-provisioner repository overview

⁠NFS Subdirectory External Provisioner Helm Chart

The NFS subdir external provisioner⁠ is an automatic provisioner for Kubernetes that uses your already configured NFS server, automatically creating Persistent Volumes.

⁠TL;DR;

$ helm repo add nfs-subdir-external-provisioner https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner/
$ helm install nfs-subdir-external-provisioner nfs-subdir-external-provisioner/nfs-subdir-external-provisioner \
    --set nfs.server=x.x.x.x \
    --set nfs.path=/exported/path

⁠Introduction

This charts installs custom storage class⁠ into a Kubernetes⁠ cluster using the Helm⁠ package manager. It also installs a NFS client provisioner⁠ into the cluster which dynamically creates persistent volumes from single NFS share.

⁠Prerequisites

  • Kubernetes >=1.9
  • Existing NFS Share

⁠Installing the Chart

To install the chart with the release name my-release:

$ helm install my-release nfs-subdir-external-provisioner/nfs-subdir-external-provisioner \
    --set nfs.server=x.x.x.x \
    --set nfs.path=/exported/path

The command deploys the given storage class in the default configuration. It can be used afterswards to provision persistent volumes. The configuration⁠ section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

⁠Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

⁠Configuration

The following tables lists the configurable parameters of this chart and their default values.

ParameterDescriptionDefault
replicaCountNumber of provisioner instances to deployed1
strategyTypeSpecifies the strategy used to replace old Pods by new onesRecreate
image.repositoryProvisioner imagek8s.gcr.io/sig-storage/nfs-subdir-external-provisioner
image.tagVersion of provisioner imagev4.0.2
image.pullPolicyImage pull policyIfNotPresent
imagePullSecretsImage pull secrets[]
storageClass.nameName of the storageClassnfs-client
storageClass.defaultClassSet as the default StorageClassfalse
storageClass.allowVolumeExpansionAllow expanding the volumetrue
storageClass.reclaimPolicyMethod used to reclaim an obsoleted volumeDelete
storageClass.provisionerNameName of the provisionerNamenull
storageClass.archiveOnDeleteArchive PVC when deletingtrue
storageClass.onDeleteStrategy on PVC deletion. Overrides archiveOnDelete when set to lowercase values 'delete' or 'retain'null
storageClass.pathPatternSpecifies a template for the directory namenull
storageClass.accessModesSet access mode for PVReadWriteOnce
storageClass.annotationsSet additional annotations for the StorageClass{}
leaderElection.enabledEnables or disables leader electiontrue
nfs.serverHostname of the NFS server (required)null (ip or hostname)
nfs.pathBasepath of the mount point to be used/nfs-storage
nfs.mountOptionsMount options (e.g. 'nfsvers=3')null
nfs.volumeNameVolume name used inside the podsnfs-subdir-external-provisioner-root
resourcesResources required (e.g. CPU, memory){}
rbac.createUse Role-based Access Controltrue
podSecurityPolicy.enabledCreate & use Pod Security Policy resourcesfalse
podAnnotationsAdditional annotations for the Pods{}
priorityClassNameSet pod priorityClassNamenull
serviceAccount.createShould we create a ServiceAccounttrue
serviceAccount.nameName of the ServiceAccount to usenull
serviceAccount.annotationsAdditional annotations for the ServiceAccount{}
nodeSelectorNode labels for pod assignment{}
affinityAffinity settings{}
tolerationsList of node taints to tolerate[]
labelsAdditional labels for any resource created{}

Tag summary

Content type

Image

Digest

Size

17.1 MB

Last updated

over 5 years ago

docker pull mccj/nfs-subdir-external-provisioner:v4.0.2