Update Doc: Deploy Apps from the App Store

Signed-off-by: Felixnoo <felixliu@yunify.com>
This commit is contained in:
Felixnoo 2021-06-08 17:45:11 +08:00
parent e2c9e98c49
commit 224916f969
48 changed files with 34 additions and 38 deletions

View File

@ -1,6 +1,6 @@
---
title: "Deploy Apps from the App Store"
keywords: 'Kubernetes, chart, helm, KubeSphere, application, App Store'
keywords: 'Kubernetes, Chart, Helm, KubeSphere, Application, App Store'
description: 'Learn how to deploy an application from the App Store.'
linkTitle: "Deploy Apps from the App Store"
weight: 10130
@ -19,31 +19,29 @@ This tutorial demonstrates how to quickly deploy [NGINX](https://www.nginx.com/)
### Step 1: Deploy NGINX from the App Store
1. On the **Overview** page of the project `demo-project`, click **App Store** in the top-left corner.
![app-store](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/app-store.jpg)
1. Log in to the web console of KubeSphere as `project-regular` and click **App Store** in the top-left corner.
{{< notice note >}}
You can also click **Deploy New Application** and select **From App Store** to go to the App Store.
You can also go to **Apps** under **Application Workloads** in your project, click **Deploy New App**, and select **From App Store** to go to the App Store.
{{</ notice >}}
2. Find NGINX and click **Deploy** on the **App Info** page.
2. Find NGINX and click **Deploy** on the **App Information** page.
![nginx-in-app-store](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/nginx-in-app-store.jpg)
![nginx-in-app-store](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/nginx-in-app-store.png)
![deploy-nginx](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/deploy-nginx.jpg)
![deploy-nginx](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/deploy-nginx.png)
3. Set a name and select an app version. Make sure NGINX is deployed in `demo-project` and click **Next**.
![confirm-deployment](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/confirm-deployment.jpg)
![confirm-deployment](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/confirm-deployment.png)
4. In **App Config**, specify the number of replicas to deploy for the app and enable Ingress based on your needs. When you finish, click **Deploy**.
4. In **App Configurations**, specify the number of replicas to deploy for the app and enable Ingress based on your needs. When you finish, click **Deploy**.
![edit-config-nginx](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/edit-config-nginx.jpg)
![edit-config-nginx](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/edit-config-nginx.png)
![manifest-file](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/manifest-file.jpg)
![manifest-file](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/manifest-file.png)
{{< notice note >}}
@ -53,7 +51,7 @@ This tutorial demonstrates how to quickly deploy [NGINX](https://www.nginx.com/)
5. Wait until NGINX is up and running.
![nginx-running](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/nginx-running.jpg)
![nginx-running](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/nginx-running.png)
### Step 2: Access NGINX
@ -61,23 +59,23 @@ To access NGINX outside the cluster, you need to expose the app through a NodePo
1. Go to **Services** and click the service name of NGINX.
![nginx-service](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/nginx-service.jpg)
![nginx-service](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/nginx-service.png)
2. On the service detail page, click **More** and select **Edit Internet Access** from the drop-down menu.
2. On the Service detail page, click **More** and select **Edit Internet Access** from the drop-down menu.
![edit-internet-access](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/edit-internet-access.jpg)
![edit-internet-access](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/edit-internet-access.png)
3. Select **NodePort** for **Access Method** and click **OK**. For more information, see [Project Gateway](../../../project-administration/project-gateway/).
![nodeport](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/nodeport.jpg)
![nodeport](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/nodeport.png)
4. Under **Service Ports**, you can see the port is exposed.
![exposed-port](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/exposed-port.jpg)
![exposed-port](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/exposed-port.png)
5. Access NGINX through `{$NodeIP}:{$Nodeport}`.
5. Access NGINX through `<NodeIP>:<NodePort>`.
![access-nginx](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/access-nginx.jpg)
![access-nginx](/images/docs/project-user-guide/applications/deploy-apps-from-app-store/access-nginx.png)
{{< notice note >}}

View File

@ -1,6 +1,6 @@
---
title: "从应用商店部署应用"
keywords: 'Kubernetes, chart, helm, KubeSphere, application, App Store'
keywords: 'Kubernetes, Chart, Helm, KubeSphere, 应用, 应用商店'
description: '了解如何从应用商店中部署应用程序。'
linkTitle: "从应用商店部署应用"
weight: 10130
@ -19,41 +19,39 @@ weight: 10130
### 步骤 1从应用商店部署 NGINX
1. 在 `demo-project` 项目的**概览**页面,点击左上角的**应用商店**。
![app-store](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/app-store.jpg)
1. 以 `project-regular` 身份登录 KubeSphere Web 控制台,点击左上角的**应用商店**。
{{< notice note >}}
您也可以打开**应用负载**下的**应用**页面,点击**部署新应用**,并选择**来自应用商店**进入应用商店。
您也可以在您的项目中前往**应用负载**下的**应用**页面,点击**部署新应用**,并选择**来自应用商店**进入应用商店。
{{</ notice >}}
2. 找到 NGINX在**应用信息**页面点击**部署**。
![nginx-in-app-store](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/nginx-in-app-store.jpg)
![nginx-in-app-store](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/nginx-in-app-store.png)
![deploy-nginx](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/deploy-nginx.jpg)
![deploy-nginx](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/deploy-nginx.png)
3. 设置应用的名称和版本,确保 NGINX 部署在 `demo-project` 项目中,点击**下一步**。
![confirm-deployment](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/confirm-deployment.jpg)
![confirm-deployment](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/confirm-deployment.png)
4. 在**应用配置**页面,设置应用部署的副本数,根据需要启用或禁用 Ingress然后点击**部署**。
![edit-config-nginx](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/edit-config-nginx.jpg)
![edit-config-nginx](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/edit-config-nginx.png)
![manifest-file](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/manifest-file.jpg)
![manifest-file](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/manifest-file.png)
{{< notice note >}}
如需为 NGINX 设置更多的参数, 可点击 **YAML** 后的切换开关打开应用的 YAML 配置文件,并在配置文件中设置相关参数。
如需为 NGINX 设置更多的参数, 可点击 **YAML** 后的拨动开关打开应用的 YAML 配置文件,并在配置文件中设置相关参数。
{{</ notice >}}
5. 等待应用创建完成并开始运行。
![nginx-running](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/nginx-running.jpg)
![nginx-running](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/nginx-running.png)
### 步骤 2访问 NGINX
@ -61,23 +59,23 @@ weight: 10130
1. 打开**服务**页面并点击 NGINX 的服务名称。
![nginx-service](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/nginx-service.jpg)
![nginx-service](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/nginx-service.png)
2. 在服务详情页面,点击**更多操作**,在下拉菜单中选择**编辑外网访问**。
![edit-internet-access](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/edit-internet-access.jpg)
![edit-internet-access](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/edit-internet-access.png)
3. 将**访问方式**设置为 **NodePort** 并点击**确定**。有关更多信息,请参见[项目网关](../../../project-administration/project-gateway/)。
![nodeport](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/nodeport.jpg)
![nodeport](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/nodeport.png)
4. 您可以在**服务端口**区域查看暴露的端口。
![exposed-port](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/exposed-port.jpg)
![exposed-port](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/exposed-port.png)
5. 用 `{$NodeIP}:{$Nodeport}` 地址访问 NGINX。
5. 用 `<NodeIP>:<NodePort>` 地址访问 NGINX。
![access-nginx](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/access-nginx.jpg)
![access-nginx](/images/docs/zh-cn/project-user-guide/applications/deploy-apps-from-app-store/access-nginx.png)
{{< notice note >}}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 741 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 942 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 539 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 862 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 KiB