website/content/en/docs/project-user-guide/application/deploy-app-from-template.md
yunkunrao 7f5d1a77ed Fixed invalid web link.
Signed-off-by: yunkunrao <yunkunrao@yunify.com>
2020-10-29 15:17:58 +08:00

2.4 KiB

title keywords description weight
Deploy Applications from App Template kubernetes, chart, helm, KubeSphere, application Deploy Applications from App Template 2210

Objective

This tutorial shows you a simple example about how to quickly deploy a Nginx application using templates from KubeSphere application store sponsored by OpenPitrix. The demonstration includes one-click deploying apps within a workspace and exposing service by NodePort.

Prerequisites

Hands-on Lab

Step 1: Browse App Templates

1.1. Switch to use project-regular account to log in, then enter into demo-project.

1.2. Click Application Workloads → Applications, click Deploy New Application.

App List

1.3. Choose From App Store and enter into app store.

App Templates

App Store

1.4. Search Nginx and click into Nginx App. We will demonstrate how to one-click deploying Nginx to Kubernetes.

Step 2: One-click Deploy Nginx Application

2.1. Click Deploy on the right. Generally you do not need to change any configuration, just click Deploy.

View Nginx

2.2. Wait for two minutes, then you will see the application nginx showing active on the application list.

Deploy Nginx

Step 3: Expose Nginx Web Service

3.1. Click into Nginx application, and then enter into its service page.

View Nginx Detail

3.2. In this page, make sure its deployment and Pod are running, then click More → Edit Internet Access, and select NodePort in the dropdown list, click OK to save it.

Edit Internet Access for Nginx Web Service

3.3. At this point, you will be able to access Nginx web service from outside of the cluster.

Nginx Service Endpoint