A pod is the smallest deployable unit in Kubernetes. It represents a single instance of a running application and can contain one or more tightly coupled containers. This topic shows you how to view, modify, and manually scale pods in the ACS console.
View pods
View pod details
-
Log on to the ACS console. In the left navigation pane, click Clusters.
On the Clusters page, click the name of your cluster. In the left navigation pane, click .
-
On the Pods page, click View Details in the Actions column for the target pod.
NoteOn the Pods page, you can edit or delete pods. For pods created by a workload, such as a Deployment, manage them through the Deployment.
The following table describes the pod status conditions.
Type
Description
Initialized
All init containers have started successfully.
Ready
The pod can serve requests and is added to the load balancing pools of all matching services.
ContainersReady
All containers in the pod are ready.
PodScheduled
The pod has been scheduled to a node.
For more information, see pod lifecycle.
Set container resource requests and limits
After you create an application, you can adjust the CPU and memory resource requests and limits for its containers. This section uses a stateless application as an example.
-
Log on to the ACS console. In the left navigation pane, click Clusters.
-
On the Clusters page, click the name of the target cluster. In the navigation pane on the left, choose Workloads > Pods.
-
On the Pods page, select a namespace from the Namespace drop-down list, and then click Edit in the Actions column for the target pod.
-
On the application's edit page, set the CPU and memory resource requests and limits for the container. By default, the resource request is equal to the resource limit, and the billing method is pay-as-you-go. If you use YAML to set a resource limit that is different from the resource request, the ACS console automatically updates the resource request to match the resource limit. For more information, see resource specification.