Pods are the smallest deployable units in Kubernetes. A pod runs an instance of an independent application in Kubernetes. Each pod contains one or more containers that are tightly coupled. You can modify and view pods, and manually scale containerized applications in the Container Service for Kubernetes (ACK) console.

View pods

View pod details

  1. Log on to the ACK console.
  2. In the left-side navigation pane, click Clusters.
  3. On the Clusters page, find the cluster that you want to manage and click the name of the cluster or click Details in the Actions column. The details page of the cluster appears.
  4. In the left-side navigation pane of the details page, choose Workloads > Deployments.
  5. View pods.
    • Click the Pods tab. On the Pods tab, find the pod that you want to view, and click View Details on the right side to view pod details.
    • Select a type of workload in the left-side navigation pane. On the page that appears, find the application that you want to manage. Then, click the name of the application or click Details on the right side to view pod details.
    On the details page of the application, you can click Services in the left-side navigation pane. On the Services page, find and click the Service that you want to manage. On the page that appears, click a workload and view pod details on the Pods tab.
    Note You can modify and delete pods. We recommend that you use Deployments to manage pods if the pods are created by Deployments.

View pod logs

You can view pod logs by using the following methods:

  • Navigate to the Pods tab, find the pod that you want to manage, and click Logs on the right side to view the log data.
  • Select a type of workload in the left-side navigation page. On the page that appears, find the application that you want to manage and choose More > Logs in the Actions column to view the log data.

Modify pod configurations

  1. Log on to the ACK console.
  2. In the left-side navigation pane, click Clusters.
  3. On the Clusters page, find the cluster that you want to manage and click the name of the cluster or click Details in the Actions column. The details page of the cluster appears.
  4. In the left-side navigation pane of the details page, choose Workloads > Pods.
  5. On the Pods page, find the pod that you want to manage and click Edit in the Actions column.
  6. In the dialog box that appears, modify the configuration of the pod and click Update.
    Update the configuration of the pod

Manually scale a containerized application

After you deploy an application in an ACK cluster, you can scale in or scale out the application to meet your requirements.

  1. Log on to the ACK console.
  2. In the left-side navigation pane, click Clusters.
  3. On the Clusters page, find the cluster that you want to manage and click the name of the cluster or click Details in the Actions column. The details page of the cluster appears.
  4. In the left-side navigation pane of the details page, choose Workloads > Deployments.
  5. Select the namespace where the service is deployed, find the deployment for the new version, and then click Scale in the Actions column.
  6. In the dialog box that appears, set Desired Number of Pods to 4 and click OK.
    Note By default, a Deployment is updated based on the rollingUpdate strategy. This ensures that the minimum number of pods are available during the update. You can specify the minimum number of pods that must run in Pod Template of the YAML file.