5.3. Adding a namespace bucket using the OpenShift Container Platform user interface
You can add namespace buckets using the OpenShift Container Platform user interface. For information about namespace buckets, see Managing namespace buckets.
Prerequisites
- Ensure that Openshift Container Platform with OpenShift Data Foundation operator is already installed.
- Access to the Multicloud Object Gateway (MCG).
Procedure
-
On the OpenShift Web Console, navigate to Storage
Object Storage Namespace Store tab. Click Create namespace store to create a
namespacestoreresources to be used in the namespace bucket.-
Enter a
namespacestorename. - Choose a provider and region.
- Either select an existing secret, or click Switch to credentials to create a secret by entering a secret key and secret access key.
- Enter a target bucket.
- Click Create.
-
Enter a
-
On the Namespace Store tab, verify that the newly created
namespacestoreis in the Ready state. - Repeat steps 2 and 3 until you have created all the desired amount of resources.
Navigate to Bucket Class tab and click Create Bucket Class.
-
Choose
NamespaceBucketClass type radio button. - Enter a BucketClass name and click Next.
Choose a Namespace Policy Type for your namespace bucket, and then click Next.
- If your namespace policy type is Single, you need to choose a read resource.
- If your namespace policy type is Multi, you need to choose read resources and a write resource.
- If your namespace policy type is Cache, you need to choose a Hub namespace store that defines the read and write target of the namespace bucket.
- Select one Read and Write NamespaceStore which defines the read and write targets of the namespace bucket and click Next.
- Review your new bucket class details, and then click Create Bucket Class.
-
Choose
- Navigate to Bucket Class tab and verify that your newly created resource is in the Ready phase.
Navigate to Object Bucket Claims tab and click Create Object Bucket Claim.
- Enter ObjectBucketClaim Name for the namespace bucket.
-
Select StorageClass as
openshift-storage.noobaa.io. -
Select the BucketClass that you created earlier for your
namespacestorefrom the list. By default,noobaa-default-bucket-classgets selected. - Click Create. The namespace bucket is created along with Object Bucket Claim for your namespace.
- Navigate to Object Bucket Claims tab and verify that the Object Bucket Claim created is in Bound state.
- Navigate to Object Buckets tab and verify that the your namespace bucket is present in the list and is in Bound state.