[caasp-beta] RC2 issues.

Alex Barclay ABarclay at suse.com
Mon Jul 17 15:29:30 MDT 2017


Hi Rushi


On 07/17/2017 12:51 PM, Ns, Rushi wrote:
>  
>
> 2)    No Storage Class is available  ?
>
> Kubectl get sc  - output shows nothing
>
>
You need to create your own storage class. Here's one I rolled earlier
when I was testing the functionality out:

apiVersion: storage.k8s.io/v1beta1
kind: StorageClass
metadata:
  name: fast
  annotations:
    storageclass.beta.kubernetes.io/is-default-class: "true"
provisioner: kubernetes.io/rbd
parameters:
  monitors: "10.84.75.11:6789"
  adminId: admin
  adminSecretName: ceph-secret
  adminSecretNamespace: default
  pool: rbd
  userId: admin
  userSecretName: ceph-secret



In this case, where I'm using a ceph backend, you need to create two
secrets and here I used the same for both admin (creating volumes) and
user (accessing volumes). The user secret needs to exist in the same
namespace that you'll be creating the persistent volume claim in.

Have fun

Alex.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.suse.com/pipermail/caasp-beta/attachments/20170717/ac81c80b/attachment.htm>


More information about the caasp-beta mailing list