What is pool storage resource and other stuff #6840
-
Hi. I have read alot about noobaa, i have watched videos about nooba on yt but I am still confused. Thanks for help |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Pool storage resource is the equivilant to the pv pool BackingStore, if you looked at the operator and the different types of BackingStores/Resources (two names, same entity, as you suspected). It means storing the data on top of PVs attached to pods in the same cluster NooBaa is running. Regarding BucketClass, you can look at that as a template for a new bucket. When you create a new bucket via OBC (BucketClass does not take effect when you use the S3 API itself to create a new bucket) the different setting on the BucketClass (if provided during the OBC creation) will be set on the new bucket. Since its only a template, things can be either overridden on the OBC yaml itself or later on. See BucketClass CRD for more info. The difference between a non-namespace resource and a namespace resource is simply but what type of bucket you want to attach it to. non-namespace buckets use non-namespace resources and namespace buckets use namespace resources. Now, the difference between a namespace bucket and a non-namespace bucket is the following: For a non-namespace bucket, NooBaa will take the stream of the object that is being uploaded, will Dedup it (inline), compress each chunk which is the result of the dedup, and then encrypt each chunk. Then these chinks are being written on the resource itself. In this scenario you gain dedup and compression, and also the additional protection of each chunk (averaged around 4MB) being encrypted. However, in order to access the data you would have to go via NooBaa. A namespace bucket behaves differently, in this case, NooBaa will write the data as received by the client. This means we won't alter the data by dedup, compression, or encryption so we won't benefit from those. However, since the data was written "as is" it can also be accessed directly from the resource without going via NooBaa. So it really depends on our need and use case |
Beta Was this translation helpful? Give feedback.
-
Right now it is not, you can create new BackingStores and use them and not the default, but currently deleting it would only cause a reconcile. It is in our future plans to be enable switching the default into another one created by the user |
Beta Was this translation helpful? Give feedback.
Pool storage resource is the equivilant to the pv pool BackingStore, if you looked at the operator and the different types of BackingStores/Resources (two names, same entity, as you suspected). It means storing the data on top of PVs attached to pods in the same cluster NooBaa is running.
Regarding BucketClass, you can look at that as a template for a new bucket. When you create a new bucket via OBC (BucketClass does not take effect when you use the S3 API itself to create a new bucket) the different setting on the BucketClass (if provided during the OBC creation) will be set on the new bucket. Since its only a template, things can be either overridden on the OBC yaml itself or later on. …