Created
April 19, 2017 13:39
-
-
Save ioggstream/174305e596262966cf04cfc1ac3d3286 to your computer and use it in GitHub Desktop.
Openshift storage classes
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
# A storage class provision volumes from | |
# different provisioners, eg. cinder. | |
kind: StorageClass | |
apiVersion: storage.k8s.io/v1beta1 | |
metadata: | |
name: ssd | |
annotations: | |
storageclass.beta.kubernetes.io/is-default-class: "true" | |
provisioner: kubernetes.io/cinder | |
parameters: | |
type: ssd-volume-type | |
availability: nova | |
# pvc | |
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: pvc-test | |
annotations: | |
volume.beta.kubernetes.io/storage-class: ssd | |
spec: | |
accessModes: | |
- ReadWriteMany | |
resources: | |
requests: | |
storage: 1Gi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment