Deploy Apps from the App Store
The App Store is also the public app repository on the platform, which means every tenant on the platform can view the applications in the Store regardless of which workspace they belong to. The App Store contains 16 featured enterprise-ready containerized apps and apps released by tenants from different workspaces on the platform. Any authenticated users can deploy applications from the Store. This is different from private app repositories which are only accessible to tenants in the workspace where private app repositories are imported.
This tutorial demonstrates how to quickly deploy NGINX from the KubeSphere App Store powered by OpenPitrix and access its service through a NodePort.
Prerequisites
- You have enabled OpenPitrix (App Store).
- You need to create a workspace, a project, and a user (
project-regular
) for this tutorial. The user must be invited to the project and granted theoperator
role. For more information, see Create Workspaces, Projects, Users and Roles.
Hands-on Lab
Step 1: Deploy NGINX from the App Store
Log in to the web console of KubeSphere as
project-regular
and click App Store in the upper-left corner.Note
You can also go to Apps under Application Workloads in your project, click Create, and select From App Store to go to the App Store.Search for NGINX, click it, and click Install on the App Information page. Make sure you click Agree in the displayed Deployment Agreement dialog box.
Set a name and select an app version, confirm the location where NGINX will be deployed , and click Next.
In App Settings, specify the number of replicas to deploy for the app and enable Ingress based on your needs. When you finish, click Install.
Note
To specify more values for NGINX, use the toggle to see the app’s manifest in YAML format and edit its configurations.Wait until NGINX is up and running.
Step 2: Access NGINX
To access NGINX outside the cluster, you need to expose the app through a NodePort first.
Go to Services in the created project and click the service name of NGINX.
On the Service details page, 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.
Under Ports, view the exposed port.
Access NGINX through
<NodeIP>:<NodePort>
.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.
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.