Deploy MinIO on KubeSphere
MinIO object storage is designed for high performance and the S3 API. It is ideal for large, private cloud environments with stringent security requirements and delivers mission-critical availability across a diverse range of workloads.
This tutorial walks you through an example of deploying MinIO from the App Store of KubeSphere.
Prerequisites
- Please make sure you enable the OpenPitrix system.
- You need to create a workspace, a project, and a user account (
project-regular
) for this tutorial. The account needs to be a platform regular user and to be invited as the project operator with theoperator
role. In this tutorial, you log in asproject-regular
and work in the projectdemo-project
in the workspacedemo-workspace
. For more information, see Create Workspaces, Projects, Users and Roles.
Hands-on Lab
Step 1: Deploy MinIO from the App Store
-
On the Overview page of the project
demo-project
, click App Store in the upper-left corner. -
Find MinIO and click Install on the App Information page.
-
Set a name and select an app version. Make sure MinIO is deployed in
demo-project
and click Next. -
In App Settings, you can use the default configuration or customize the configuration by editing the YAML file directly. Click Install to continue.
-
Wait until MinIO is up and running.
Step 2: Access the MinIO browser
To access MinIO outside the cluster, you need to expose the app through a NodePort first.
-
Go to Services and click the service name of MinIO.
-
Click More and select Edit External Access from the drop-down menu.
-
Select NodePort for Access Method and click OK. For more information, see Project Gateway.
-
On the Services page, click MinIO. On the page that appears, under Ports, you can see the port is exposed.
-
To access the MinIO browser, you need
accessKey
andsecretKey
, which are specified in the configuration file of MinIO. Go to Template-Based Apps in Apps, click MinIO, and you can find the value of these two fields under the tab Chart Files. -
Access the MinIO browser through
<NodeIP>:<NodePort>
usingaccessKey
andsecretKey
.Note
You may need to open the port in your security groups and configure related port forwarding rules depending on where your Kubernetes cluster is deployed. -
For more information about MinIO, refer to the official documentation of MinIO.
Feedback
Was this page Helpful?
Receive the latest news, articles and updates from KubeSphere
Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.