Deploy MinIO translated.

Signed-off-by: Felixnoo <felixliu@yunify.com>
This commit is contained in:
Felixnoo 2021-01-18 17:18:20 +08:00
parent d59c53ae2d
commit dc908516a0
15 changed files with 39 additions and 40 deletions

View File

@ -1,82 +1,81 @@
---
title: "Deploy MinIO on KubeSphere"
keywords: 'Kubernetes, KubeSphere, Minio, app-store'
description: 'How to deploy Minio on KubeSphere from the App Store of KubeSphere'
linkTitle: "Deploy MinIO on KubeSphere"
title: "在 KubeSphere 中部署 MinIO"
keywords: 'Kubernetes, KubeSphere, Minio, 应用商店'
description: '如何通过 KubeSphere 应用商店部署 MinIO'
linkTitle: "在 KubeSphere 中部署 MinIO"
weight: 14240
---
[MinIO](https://min.io/) 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.
[MinIO](https://min.io/) 对象存储为高性能和 S3 API 而设计。对于具有严格安全要求的大型私有云环境来说MinIO 是理想选择,它可以为多种工作负载提供任务关键型可用性。
This tutorial walks you through an example of deploying MinIO from the App Store of KubeSphere.
本教程演示如何从 KubeSphere 应用商店部署 MinIO。
## Prerequisites
## 准备工作
- Please make sure you [enable the OpenPitrix system](../../../pluggable-components/app-store/).
- 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 the `operator` role. In this tutorial, you log in as `project-regular` and work in the project `demo-project` in the workspace `demo-workspace`. For more information, see [Create Workspace, Project, Account and Role](../../../quick-start/create-workspace-and-project/).
- 请确保[已启用 OpenPitrix 系统](../../../pluggable-components/app-store/)。
- 您需要创建一个企业空间、一个项目和一个用户帐户 (`project-regular`) 供本教程操作使用。该帐户需要是平台普通用户,并邀请至项目中赋予 `operator` 角色作为项目操作员。本教程中,请以 `project-regular` 身份登录控制台,在企业空间 `demo-workspace` 中的 `demo-project` 项目中进行操作。有关更多信息,请参见[创建企业空间、项目、帐户和角色](../../../quick-start/create-workspace-and-project/)。
## Hands-on Lab
## 动手实验
### Step 1: Deploy MinIO from App Store
### 步骤 1从应用商店中部署 MinIO
1. On the **Overview** page of the project `demo-project`, click **App Store** in the top left corner.
1. `demo-project` 项目的**概览**页面,点击左上角的**应用商店**。
![minio-app](/images/docs/appstore/built-in-apps/minio-app/minio-app.jpg)
![Minio 应用](/images/docs/zh-cn/appstore/built-in-apps/deploy-minio-on-ks/minio-app.PNG)
2. Find MinIO and click **Deploy** on the **App Info** page.
2. 找到 MinIO点击**应用信息**页面上的**部署**。
![minio-in-app-store](/images/docs/appstore/built-in-apps/minio-app/minio-in-app-store.jpg)
![应用商店中的 Minio](/images/docs/zh-cn/appstore/built-in-apps/deploy-minio-on-ks/minio-in-app-store.PNG)
![deploy-minio](/images/docs/appstore/built-in-apps/minio-app/deploy-minio.jpg)
3. Set a name and select an app version. Make sure MinIO is deployed in `demo-project` and click **Next**.
3. 设置名称并选择应用版本。请确保将 MinIO 部署在 `demo-project` 中,点击**下一步**。
![minio-deploy](/images/docs/appstore/built-in-apps/minio-app/minio-deploy.jpg)
![部署 Minio](/images/docs/zh-cn/appstore/built-in-apps/deploy-minio-on-ks/minio-deploy.PNG)
4. In **App Config**, you can use the default configuration or customize the configuration by editing the YAML file directly. Click **Deploy** to continue.
4. 在**应用配置**页面,您可以使用默认配置或者直接编辑 YAML 文件来自定义配置。点击**部署**继续。
![deloy-minio-2](/images/docs/appstore/built-in-apps/minio-app/deloy-minio-2.jpg)
![部署 Minio 2](/images/docs/zh-cn/appstore/built-in-apps/deploy-minio-on-ks/deploy-minio-2.PNG)
5. Wait until MinIO is up and running.
5. 稍等片刻待 MinIO 启动并运行。
![minio-in-list](/images/docs/appstore/built-in-apps/minio-app/minio-in-list.jpg)
![列表中的 Minio](/images/docs/zh-cn/appstore/built-in-apps/deploy-minio-on-ks/minio-in-list.PNG)
### Step 2: Access MinIO Browser
### 步骤 2访问 MinIO Browser
To access MinIO outside the cluster, you need to expose the app through NodePort first.
要从集群外部访问 MinIO您需要先通过 NodePort 暴露该应用。
1. Go to **Services** and click the service name of MinIO.
1. 在**服务**页面点击 MinIO 的服务名称。
![minio-detail](/images/docs/appstore/built-in-apps/minio-app/minio-detail.jpg)
![Minio 详情](/images/docs/zh-cn/appstore/built-in-apps/deploy-minio-on-ks/minio-detail.PNG)
2. Click **More** and select **Edit Internet Access** from the drop-down menu.
2. 点击**更多操作**,在下拉菜单中选择**编辑外网访问**。
![edit-internet-access](/images/docs/appstore/built-in-apps/minio-app/edit-internet-access.jpg)
![编辑外网访问](/images/docs/zh-cn/appstore/built-in-apps/deploy-minio-on-ks/edit-internet-access.PNG)
3. Select **NodePort** for **Access Method** and click **OK**. For more information, see [Project Gateway](../../../project-administration/project-gateway/).
3. 在**访问方式**的下拉列表中选择 **NodePort**,然后点击**确定**。有关更多信息,请参见[项目网关](../../../project-administration/project-gateway/)。
![nodeport](/images/docs/appstore/built-in-apps/minio-app/nodeport.jpg)
![nodeport](/images/docs/zh-cn/appstore/built-in-apps/deploy-minio-on-ks/nodeport.PNG)
4. Under **Service Ports**, you can see the port is exposed.
4. 您可以在**服务端口**中查看已暴露的端口。
![port-exposed](/images/docs/appstore/built-in-apps/minio-app/port-exposed.jpg)
![已暴露的端口](/images/docs/zh-cn/appstore/built-in-apps/deploy-minio-on-ks/port-exposed.PNG)
5. To access the MinIO browser, you need `accessKey` and `secretKey`, which are specified in the configuration file of MinIO. Go to **App Templates** in **Applications**, click MinIO, and you can find the value of these two fields under the tab **Configuration Files**.
5. 要访问 MinIO Browser您需要 `accessKey``secretKey`,都在 MinIO 配置文件中指定。在**应用**的**应用模板**选项卡中,点击 MinIO随后可以在**配置文件**选项卡下查找这两个字段的值。
![template-list](/images/docs/appstore/built-in-apps/minio-app/template-list.jpg)
![模板列表](/images/docs/zh-cn/appstore/built-in-apps/deploy-minio-on-ks/template-list.PNG)
![config-file](/images/docs/appstore/built-in-apps/minio-app/config-file.jpg)
![配置文件](/images/docs/zh-cn/appstore/built-in-apps/deploy-minio-on-ks/config-file.PNG)
6. Access the MinIO browser through `{$NodeIP}:{$Nodeport}` using `accessKey` and `secretKey`.
6. 通过 `{$NodeIP}:{$Nodeport}` 使用 `accessKey``secretKey` 访问 MinIO Browser。
![minio-browser](/images/docs/appstore/built-in-apps/minio-app/minio-browser.jpg)
![Minio Browser](/images/docs/zh-cn/appstore/built-in-apps/deploy-minio-on-ks/minio-browser.PNG)
![minio-browser-interface](/images/docs/appstore/built-in-apps/minio-app/minio-browser-interface.jpg)
![Minio Browser 界面](/images/docs/zh-cn/appstore/built-in-apps/deploy-minio-on-ks/minio-browser-interface.PNG)
{{< notice note >}}
You may need to open the port in your security groups and configure related port forwarding rules depending on your where your Kubernetes cluster is deployed.
取决于您的 Kubernetes 集群的部署位置,您可能需要在安全组中放行端口并配置相关的端口转发规则。
{{</ notice >}}
7. For more information about MinIO, refer to [the official documentation of MinIO](https://docs.min.io/).
7. 有关 MinIO 的更多信息,请参见 [MinIO 官方文档](https://docs.min.io/)。

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB