Re: RBD Images with namespace and K8s

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

 



On Tue, Nov 22, 2022 at 9:20 AM Marcus Müller <mueller.marcus@xxxxxxxxx> wrote:
>
> Hi Ilya,
>
> thanks. This looks like as a general setting for all RBD images, not for some specific, right?

Right.

>
> Is a more specific definition possible, so you can have multiple rbd images in different ceph namespaces?

It looks like you would need to "import" the same Ceph cluster into
Ceph CSI multiple times, once for each namespace.  "Option 3" is what
folks appear to have settled on:

https://github.com/ceph/ceph-csi/issues/798#issuecomment-607996089

Thanks,

                Ilya

>
> Regards
> Marcus
>
>
> > Am 21.11.2022 um 22:22 schrieb Ilya Dryomov <idryomov@xxxxxxxxx>:
> >
> > On Mon, Nov 21, 2022 at 5:48 PM Marcus Müller <mueller.marcus@xxxxxxxxx> wrote:
> >>
> >> Hi all,
> >>
> >> we created a RBD image for usage in a K8s cluster. We use a own user and namespace for that RBD image.
> >>
> >> If we want to use this RBD image as a volume in k8s, it won’t work as k8s can’t find the image - without a namespace for the RBD it works. Do we have to set something special here ?
> >
> > Hi Marcus,
> >
> > I think it needs to be added to Ceph CSI ConfigMap object:
> >
> > https://github.com/ceph/ceph-csi/blob/28f51aaaf745ce4f687ead7c13d35072305abf4f/examples/csi-config-map-sample.yaml#L55
> >
> > Thanks,
> >
> >                Ilya
>
_______________________________________________
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