Created
September 3, 2020 10:52
-
-
Save pupapaik/794bb4221ec71d860163cc22d9f951d6 to your computer and use it in GitHub Desktop.
This file contains 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
# kubectl create -f https://raw.githubusercontent.com/longhorn/longhorn/master/examples/storageclass.yaml | |
kind: StorageClass | |
apiVersion: storage.k8s.io/v1 | |
metadata: | |
name: longhorn | |
provisioner: driver.longhorn.io | |
allowVolumeExpansion: true | |
parameters: | |
numberOfReplicas: "3" | |
staleReplicaTimeout: "2880" # 48 hours in minutes | |
fromBackup: "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment