Re: anyone using ceph csi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 26, 2020 at 10:33 AM Marc Roos <M.Roos@xxxxxxxxxxxxxxxxx> wrote:
>
>  >>
>  >>
>  >> I was wondering if anyone is using ceph csi plugins[1]? I would like
> to
>  >> know how to configure credentials, that is not really described for
>  >> testing on the console.
>  >>
>  >> I am running
>  >> ./csiceph --endpoint unix:///tmp/mesos-csi-XSJWlY/endpoint.sock
> --type
>  >> rbd --drivername rbd.csi.ceph.com --nodeid test
>  >>
>  >> Connection is fine
>  >> [ ~]# csc identity plugin-info
>  >> "rbd.csi.ceph.com"    "canary"
>  >>
>  >> However I have no idea how to configure the clientid, pool etc in
> the
>  >> volumes
>  >>
>  >>
>  >> [1]
>  >> https://github.com/ceph/ceph-csi
>  >>
>  >> Ps. I am not using kubernetes.
>  >
>  >The credentials and Ceph cluster configuration metadata are passed via
>  >the RPC calls as per the CSI spec. In k8s, these details would be
>  >stored in StorageClass and Secret objects.
>
> So there is no way of testing this driver via the commandline, with
> some generic grpc client?
>

You would need some way to inject the correct/expected gRPC calls as
per the CSI spec [1]. Data from the StorageClass mostly gets
translated and sent via the "parameters" argument and data from the
Secret gets translated and sent via the "secrets" argument of various
gRPC requests.



[1] https://github.com/container-storage-interface/spec/blob/master/spec.md

-- 
Jason
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux