-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: shubham <[email protected]>
- Loading branch information
1 parent
ef3577f
commit 61035ae
Showing
4 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#Sample storage classes for OpenEBS Local PV | ||
apiVersion: storage.k8s.io/v1 | ||
kind: StorageClass | ||
metadata: | ||
name: openebs-hostpath | ||
annotations: | ||
openebs.io/cas-type: local | ||
cas.openebs.io/config: | | ||
# hostpath type will create a PV by | ||
# creating a sub-directory under the | ||
# BASEPATH provided below. | ||
- name: StorageType | ||
value: "hostpath" | ||
# Specify the location (directory) where | ||
# where PV(volume) data will be saved. | ||
# A sub-directory with pv-name will be | ||
# created. When the volume is deleted, | ||
# the PV sub-directory will be deleted. | ||
#Default value is /var/openebs/local | ||
- name: BasePath | ||
value: "/var/openebs/local/" | ||
provisioner: openebs.io/local | ||
volumeBindingMode: WaitForFirstConsumer | ||
reclaimPolicy: Delete |
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