[magnum] Persistent Volume Claim with cinder backend

Christian Zunker christian.zunker at codecentric.cloud
Thu Jan 24 06:36:13 UTC 2019


Hi,

we are running Magnum Rocky.
I tried to create a persistent volume claim and got it working with
provisioner: kubernetes.io/cinder
But it failed with provisioner: openstack.org/standalone-cinder

The docs state kubernetes.io/cinder is deprecated:
https://kubernetes.io/docs/concepts/storage/storage-classes/#openstack-cinder

Which one should be used in Rocky?


This is our complete config for this case:
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: cinder
  annotations:
    storageclass.beta.kubernetes.io/is-default-class: "true"
  labels:
    kubernetes.io/cluster-service: "true"
    addonmanager.kubernetes.io/mode: EnsureExists
provisioner: openstack.org/standalone-cinder
parameters:
  type: volumes_hdd
  availability: cinderAZ_ceph
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: myclaim
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 42Gi
  storageClassName: cinder

regards
Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190124/6371ba96/attachment.html>


More information about the openstack-discuss mailing list