You can use images to quickly create a single-pod workload that can be accessed from public networks. This section describes how to use CCE to quickly deploy an Nginx application and manage its lifecycle.
You have created a CCE cluster that contains a node with 4 vCPUs and 8 GiB memory. The node is bound with an EIP.
A cluster is a logical group of cloud servers that run workloads. Each cloud server is a node in the cluster.
For details on how to create a cluster, see Creating a Kubernetes Cluster.
Nginx is a lightweight web server. On CCE, you can quickly set up a Nginx web server.
This section uses the Nginx application as an example to describe how to create a workload. The creation takes about 5 minutes.
After Nginx is created, you can access the Nginx web page.
The following is the procedure for creating a containerized workload from a container image.
Basic Info
Container Settings
Enter nginx:latest in the Image Name text box.
Service Settings
Click the plus sign (+) to create a Service for accessing the workload from an external network. This example shows how to create a LoadBalancer. Configure the following parameters in the window that slides out from the right:
Wait until the workload is created.
The created Deployment will be displayed on the Deployments tab.
Click the Nginx workload name to enter its details page. On the page displayed, click the Access Mode tab, view the IP address of Nginx. The public IP address is the external access address.