Home / Platform management / Storage / Object Storage Class / Create Storage Class: MinIO Object Storage (Alpha)

Create Storage Class: MinIO Object Storage (Alpha)

MinIO Object Storage provides a secure, reliable, and scalable shared file storage service for platforms based on MinIO storage clusters. It is suitable for scenarios such as file sharing and data backup.

Explanation of nouns

Term Full Name Description
COSI Container Object Storage Interface The Container Object Storage Interface aims to be a common abstraction layer across multiple object storage providers, dynamically providing object storage services to workloads. Third-party storage vendors can also use COSI to write plugins, exposing new storage systems in Kubernetes without modifying the core Kubernetes code.

Function comparison

StorageClasses Name Applicable Scenarios and Functions Access Method
MinIO Object Storage
  • Requires installation of MinIO object storage volume plugin.
  • MinIO is a lightweight object storage system designed to provide high-performance, low-latency object storage services, suitable for scenarios that require fast data access and retrieval.
Access method based on COSI.
Ceph Object Storage
  • Requires installation of Ceph object storage volume plugin.
  • Ceph is a complex storage system designed for a wide range of storage needs, including block storage, object storage, and file storage. Due to its complexity, Ceph can handle more complex business scenarios.

Prerequisites

Prepare the MinIO storage service in advance using any of the following methods:

Procedure of operation

Deploy the container object storage interface plugin

To use the object storage feature, you need to first deploy the Container Object Storage Interface (COSI) plugin.

  1. In the left navigation pane, click Clusters > Cluster of clusters.

  2. Click on the name of the cluster where the component to be deployed resides.

  3. On the Plugins tab, click on the > Deployments button next to Container Object Storage Interface.

  4. Wait for the deployment status to be Deployment Successful to complete the deployment.

Deployment volume plugin

  1. On the left navigation bar, click Storage > ObjectStorageClass.

  2. Click on Create Object StorageClass.

  3. Click on Deploy on the MinIO Object Storage card.

  4. On the Plugins tab, click on the right side of > Deployments.

  5. Fill in the Access URL with the Access Address from Get Information .

  6. Click on Create, and fill in the values of ACCESSKEY and SECRETKEY with the corresponding values of accesskey and secretkey from Get Information .

  7. Click on Create, and select the created key from the Key dropdown menu.

  8. Click on Deploy.

Create a StorageClasse

  1. In the left navigation pane, click Storage > ObjectStorageClass.

  2. Click Create Object StorageClass.

    Note: The following content is provided as an example using a form. You can also choose to complete the operation by selecting > YAML Create.

  3. Select MinIO Object Storage and click Next.

  4. Refer to the following instructions to configure some parameters.

    Parameter Description
    Recycle Strategy The recycling strategy for the bucket. The default strategy is delete, which means that when the bucket declaration is deleted, the bound bucket will also be deleted.
    Allocate Projects Please allocate projects that can use this type of storage.
    If there are no projects currently in need of this type of storage, you can choose not to allocate projects for now and update them later.
  5. Click Create.

Relevant operations

Get Info

Due to different storage locations, the methods for obtaining the access address, ACCESSKEY, and SECRETKEY are also different. Please choose one of the following methods based on your actual configuration.