Skip to content

Instantly share code, notes, and snippets.

@swiftdiaries
Last active August 7, 2019 00:09
Show Gist options
  • Save swiftdiaries/4b00d3d14e9f47421baca3ab157eb1dc to your computer and use it in GitHub Desktop.
Save swiftdiaries/4b00d3d14e9f47421baca3ab157eb1dc to your computer and use it in GitHub Desktop.
# For clusters with the default Storage Class named 'standard'
# This is true for Cisco Container Platform and Google Kubernetes Engine clusters
helm init --service-account=tiller
helm repo update
helm install stable/nfs-server-provisioner --name kf-nfs-storageclass \
--set=persistence.enabled=true,persistence.storageClass=standard,persistence.size=200Gi
# For clusters with the default Storage Class named 'default'
# This is for Azure clusters
helm init --service-account=tiller
helm repo update
helm install stable/nfs-server-provisioner --name kf-nfs-storageclass \
--set=persistence.enabled=true,persistence.storageClass=default,persistence.size=200Gi
# In short, change the parameter 'persistence.storageClass'
# to the cluster's default Storage Class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment