Create a repository
Describes how to create an object storage repository on the console.
This topic describes how to create an object storage repository on the console.
You can choose to create a hosted repository or a S3-compatible repository.
Prerequisites
You have registered an account.
Create a hosted repository
Log in to the KubeSphere Cloud platform with your account.
In the upper-right corner, hover your cursor over the username area and click Console from the drop-down list.
In the navigation pane on the left, click Resource Management > Object Storage Repositories, and then click Create Repository.
common:NOTE
You can also click Create Repository under Object Storage Repositories on the Overview page.
On the Create Repository page, click Hosted Repository.
Set the name in Repository Name and click Create. You can view the created repository in the object storage repository list.
common:NOTE
Each account can create only one hosted repository.
Add an S3-compatible repository
Log in to the KubeSphere Cloud platform with your account.
In the upper-right corner, hover your cursor over the username area and click Console from the drop-down list.
In the navigation pane on the left, click Resource Management > Object Storage Repositories, and then click Create Repository.
common:NOTE
You can also click Create Repository under Object Storage Repositories on the Overview page.
On the Create Repository page, click AWS S3 Standard Repository, specify Private Cloud Repo or Public Cloud Repo, and set the following parameters.
Parameter Required Description Storage Type Yes Type of the object storage. The default value is S3 Standard
.Repository Name Yes User-defined name of the repository. The name can contain only lowercase letters, numbers, and hyphens (-), and must start and end with a lowercase letter or number. The maximum length is 253 characters. Bucket Yes Name of the S3 bucket. Region Yes Name of the region of the S3 bucket. For more information, refer to the object storage documentation provided by the cloud provider. Endpoint Yes Endpoint of the storage repository. It must be compatible with the AWS S3 Standard. For more information, refer to the object storage documentation provided by the cloud provider on AWS S3 compatibility. Access Key ID Yes Access key ID of the object storage repository. For more information, refer to the object storage documentation provided by the cloud provider. Access Key Secret Yes Access key secret of the object storage repository. For more information, refer to the object storage documentation provided by the cloud provider. Disable SSL No Whether to disable SSL. Security risks may arise if you select it. After setting the parameters, click Add.
common:NOTE
If you select Public Cloud Repo before, you need to click Connect first. After the connection is successful, click Add.