amazon-s3bucketobject-storagenoobaa-data-services

Is it possible to create Noobaa bucket without creating ObjectBucketClaim(OBC)?


I am able to create noobaa bucket by creating OBC as shown below:

apiVersion: objectbucket.io/v1alpha1
kind: ObjectBucketClaim
metadata:
  name: my-obc1
spec:
  storageClassName: noobaa-test.noobaa.io
  bucketName: my-bucket
  additionalConfig: {}

Above OBC will create a noobaa bucket my-bucket. But is there any way we can create noobaa bucket directly without having to create OBC?


Solution

  • There are several ways to create buckets in noobaa other than OBC:

    1. You can use the UI - open with noobaa ui.
    2. You can use the simple command - noobaa bucket create <name>.
    3. You can use the internal API - noobaa api bucket create_bucket '{ "name": "<name>" ... }' (see here the json schema of this api params)
    4. You can use S3 - take the endpoint and credentials from noobaa status.

    Thanks! Guy