Install
Alauda Container Platform (ACP) Object Storage with MinIO is an object storage service based on the Apache License v2.0 open-source protocol. It is compatible with the Amazon S3 cloud storage service interface and is ideal for storing large volumes of unstructured data, such as images, videos, log files, backup data, and container/virtual machine images. An object file can be of any size, ranging from a few kilobytes to a maximum of 5 terabytes.
TOC
Prerequisites
-
MinIO is built on underlying storage, so please ensure that a storage class has been created in the current cluster. TopoLVM is recommended.
-
Download the Alauda Container Platform Storage Essentials installation package corresponding to your platform architecture.
-
Upload the Alauda Container Platform Storage Essentials installation package using the Upload Packages mechanism.
-
Download the Alauda Container Platform (ACP) Object Storage with MinIO installation package corresponding to your platform architecture.
-
Upload the Alauda Container Platform (ACP) Object Storage with MinIO installation package using the Upload Packages mechanism.
Procedure
Deploy Alauda Container Platform Storage Essentials
-
Login, go to the Administrator page.
-
Click Marketplace > OperatorHub to enter the OperatorHub page.
-
Find the Alauda Container Platform Storage Essentials, click Install, and navigate to the Install Alauda Container Platform Storage Essentials page.
Configuration Parameters:
Deploy Operator
-
In the left navigation bar, click Storage > Object Storage.
-
Click Configure Now.
-
On the Deploy MinIO Operator wizard page, click Deploy Operator at the bottom right.
-
Once the page automatically proceeds to the next step, it indicates that the Operator deployment was successful.
-
If the deployment fails, refer to the interface prompts to Clean Up Deployed Information and Retry, and redeploy the Operator.
-
Create Cluster
-
On the Create Cluster wizard page, configure the basic information.
-
In the Resource Configuration area, configure specifications as per the following instructions.
-
In the Storage Pool area, configure related information as per the following instructions.
-
In the Access Configuration area, configure related information as per the following instructions.
-
Click Create Cluster at the bottom right.
-
Once the page automatically proceeds to Cluster Details, it indicates that the cluster creation was successful.
-
If the cluster remains in the creation process, you can click Cancel. After cancellation, the deployed cluster information will be cleaned up, and you can return to the cluster creation page to recreate the cluster.
-
Create Bucket
Log in to the control node of the cluster and use the command to create a bucket.
-
On the cluster details page, click the Access Method tab to view the MinIO access address, or use the following command to query.
Note:
- Replace
tenant nswith the actual namespaceminio-system. - Example:
kubectl get svc -n minio-system minio | grep -w minio | awk '{print $3}'
- Replace
-
Obtain the mc command.
-
Configure MinIO cluster alias.
-
IPv4:
-
IPv6:
-
Domain Name:
Note:
- Enter the IP address obtained in step 1 for
minio endpoint. - Enter the Access Key and Secret Key created during cluster creation for
accessKeyandsecretKey. - Configuration examples:
- IPv4:
mc --insecure alias set myminio http://12.4.121.250:80 07Apples@ 07Apples@ - IPv6:
mc --insecure alias set myminio http://[2004::192:168:143:117]:80 07Apples@ 07Apples@ - Domain Name:
mc --insecure alias set myminio http://test.minio.alauda:80 07Apples@ 07Apples@ormc --insecure alias set myminio https://test.minio.alauda:443 07Apples@ 07Apples@
- IPv4:
-
-
Create a bucket.
Upload/Download Files
Once the bucket is created, you can use the command line to upload files to the bucket or download existing files from the bucket.
-
Create a file for upload testing. This step can be skipped if uploading an existing file.
-
Upload files to the bucket.
-
View files in the bucket to confirm successful upload.
-
Delete uploaded files.
Related Information
Redundancy Factor Mapping Table
Note: When adding additional storage pools, the redundancy factor needs to be calculated based on the number of instances in the first storage pool.