noobaa / noobaa-operator

Operator for NooBaa - object data service for hybrid and multi cloud environments :cloud: :wrench:
https://www.noobaa.io
Apache License 2.0
102 stars 99 forks source link

Nsfs : Default resources on hci odf #1366

Closed aspandey closed 3 months ago

aspandey commented 4 months ago
NSFS: Create default resource objects on Fusion HCI

ODF MCG on Fusion HCI with Spectrum Scale CNSA should
configure the default BucketClass, Namespacestore and
default PVC to use NSFS.

To set up NSFS on kubernetes, we need to create pvc
and namespacestore which can be used to create nsfs
bucket class. These nsfs buckets are used to create
a user bucket by s3 client.
aspandey commented 3 months ago

I might be missing it, are we skipping creating a default backingstore when we create NSFS namespacestore (and vice versa)?

NO, its not like that. Both will be created. In ReconcileDefaultBucketClass only, we are creating Bucketclass with either one of backingstore or namespacestore.

liranmauda commented 3 months ago

I might be missing it, are we skipping creating a default backingstore when we create NSFS namespacestore (and vice versa)?

NO, its not like that. Both will be created. In ReconcileDefaultBucketClass only, we are creating Bucketclass with either one of backingstore or namespacestore.

If a default namespacestore is being created we should not create a default backingstore.

aspandey commented 3 months ago

I might be missing it, are we skipping creating a default backingstore when we create NSFS namespacestore (and vice versa)?

NO, its not like that. Both will be created. In ReconcileDefaultBucketClass only, we are creating Bucketclass with either one of backingstore or namespacestore.

If a default namespacestore is being created we should not create a default backingstore.

Made changes. Now checking if platform is IsFusionHCIWithScale or not and skipping the defaultbackingstore creation.