< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

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 top-left corner.

    Note

    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.
  2. Find NGINX and click Deploy on the App Information page.

    nginx-in-app-store

    deploy-nginx

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

    confirm-deployment

  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

    manifest-file

    Note

    To specify more values for NGINX, use the toggle switch to see the app’s manifest in YAML format and edit its configurations.
  5. Wait until NGINX is up and running.

    nginx-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 and click the service name of NGINX.

    nginx-service

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

    edit-internet-access

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

    nodeport

  4. Under Service Ports, you can see the port is exposed.

    exposed-port

  5. Access NGINX through <NodeIP>:<NodePort>.

    access-nginx

    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.

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.