On Wed, Aug 26, 2020 at 10:33 AM Marc Roos <M.Roos(a)f1-outsourcing.eu> 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]