Last active
August 7, 2019 00:09
-
-
Save swiftdiaries/4b00d3d14e9f47421baca3ab157eb1dc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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