Deploy NGINX on KubeSphere
This tutorial walks you through an example of deploying NGINX from the App Store of KubeSphere.
- Please make sure you enable the OpenPitrix system.
Hands-on Lab
On the Overview page of the project
demo-project
, click App Store in the upper-left corner.Find NGINX and click Install on the App Information page.
Set a name and select an app version. Make sure NGINX is deployed in 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.
To specify more values for NGINX, use the toggle switch 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.
On the service details page, click More and select Edit External Access from the drop-down list.
Under Ports, you can see the port is exposed.
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 where your Kubernetes cluster is deployed.