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

Hands-on Lab

Step 1: Deploy NGINX from the App Store

  1. 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.
  2. Search for NGINX, click it, and click Install on the App Information page. Make sure you click Agree in the displayed App Deploy Agreement dialog box.

  3. Set a name and select an app version. Make sure NGINX is deployed in demo-project and click Next.

  4. 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.
  5. 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.

  1. Go to Services in the project demo-project and click the service name of NGINX.

  2. On the Service details page, click More and select Edit External Access from the drop-down menu.

  3. Select NodePort for Access Method and click OK. For more information, see Project Gateway.

  4. Under Ports, view the exposed port.

  5. 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.

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.