Define a Bucket Class

Prev Next

A bucket class (BucketClass) acts as a container for various parameters and attributes that VAST COSI Driver uses when creating buckets.

You define a bucket class in the VAST COSI Driver chart configuration file.

A minimal bucket class would specify a virtual IP pool, a storage path, and a view policy, for example:

endpoint: <IP>
secretName: <secret>
<...>

bucketClasses:
  vastdata-bucket:
    vipPool: cosi_vippool
    storagePath: /buckets
    viewPolicy: my_s3_policy
<...>

Optionally, you can specify parameters that allow you to:

  • Determine whether to keep or delete the bucket and the associated VMS user when the bucket object is deleted:

    deletionPolicy: "Delete|Retain"
  • For an SSL-protected VAST cluster, enable use of HTTPS when creating the bucket endpoint:

    scheme: "http|https"
  • Set up features and capabilities that can be configured for the bucket using the VAST REST API's /api/v1/views/ endpoint of your VAST cluster.

For more information about options that can be specified for a bucket class, see Bucket Class Option Reference.