Pod

Container Group (Pods) Management #

Container Group (Pods) Overview #

Container groups (Pods) are the smallest deployable units in Kubernetes.A container group represents a stand-alone application running instance in Kubernetes,which may consist of a single container or several tightly coupled containers.

Check Container Group List #

Operating steps:

  1. Log in the MSP Platform

  2. In the MSP Platform “All Products” navigation bar,click the Workload under the Container Cloud Platform module

  3. Click “Pod” to enter the Pod list page,as shown in the following figure:

image_20220730191118_pod

Container Group State #
StateDescription
PendingWaiting
RunningRuning
CrashLoopBackOffThe container exits and Kubelet is restarting it
InvalidImageNameThe image name could not be resolved
ImageInspectErrorFailed to verify mirror
ErrImageNeverPullThe policy forbids pulling an image
ImagePullBackOffRetry pull
RegistryUnavailableFailed to connect to the mirror center
ErrImagePullGeneric pull mirror error
CreateContainerConfigErrorUnable to create container configuration used by kubelet.
CreateContainerErrorFailed to create container
internalLifecycle.PreStartContainerExecute hook error
RunContainerErrorFailed to create container
PostStartHookErrorExecute hook error
ContainersNotInitializedThe container has not been initialized
ContainersNotReadyContainer is not ready
ContainerCreatingContainer being created
PodInitializingInitializing pod
DockerDaemonNotReadyDocker hasn’t fully started yet
NetworkPluginNotReadyThe plug-in is not fully started

Check Container Group Monitor #

The container cloud platform supports the monitoring of cluster inner container groups,including cpu usage, memory usage, network outflow rate and network inflow rate.

Operating steps:

  1. Log in the MSP Platform

  2. In the MSP Platform “All Products” navigation bar,click the Workload under the Container Cloud Platform module

  3. Click select “Pods"and enter Pods list page,select the desired Pods,click Monitor to access the monitor page,as shown in the following figure:

image_20220730191130_pod

At present,users can also select the required container group in the Deployments,DaemonSets or Pod management page under the node of the workload,and click Monitor to view it.

Check Container Monitor #

The container cloud platform supports the monitoring of cluster container groups,including cpu usage and memory usage.

Operating steps:

  1. Log in the MSP Platform

  2. In the MSP Platform “All Products” navigation bar,click the Workload under the Container Cloud Platform module

  3. Click select “Pods"and enter Pods list page,select the desired Pods,click Name or acton column Container to enter the container list page

4)Select the required container, and click “Monitor” to enter the container log page,as shown in the following figure:

image_20220730191137_pod

At present,users can also select the required container group in the Deployments, DaemonSets or Pod management page under the node of the workload, click collapse, select the required container,and click Monitor to view.

Check Container Group Log #

The container cloud platform supports real-time viewing of container log stream.

Operating steps:

  1. Log in the MSP Platform

  2. In the MSP Platform “All Products” navigation bar,click the Workload under the Container Cloud Platform module

  3. Click select “Pods"and enter Pods list page,select the desired Pods,click Name to go to the details page.

  4. Click Log on the right side of the navigation bar to enter the log page of the container group, which supports viewing the log of each container in the container group as shown in the following figure:

image_20220730191145_pod

Check Container Log #

Operating steps:

  1. Log in the MSP Platform

  2. In the MSP Platform “All Products” navigation bar,click the Workload under the Container Cloud Platform module

  3. Click select “Pods"and enter Pods list page,select the desired Pods,click Name or acton column Container to enter the container list page

  4. Select the required container,and click Terminal Log to enter the container log page,as shown in the following figure:

image_20220730191150_pod

Users can also view the container log in the Deployments, DaemonSets or Pod management page under the node of the workload.

Remote Login Container #

The container cloud platform supports the remote login of the cluster container, the remote terminal helps users debug the container quickly, connect the container to view problems, and the init container does not support remote login.

Operating steps:

  1. Log in the MSP Platform

  2. In the MSP Platform “All Products” navigation bar,click the Workload under the Container Cloud Platform module

  3. Click select “Pods"and enter Pods list page,select the desired Pods,click Name or acton column Container to enter the container list page

  4. Select the required container,and click “Telnet” to enter the Telnet page,as shown in the following figure:

WechatIMG179

At present,the user can also select the required container group in the Deployments, DaemonSets or Pod management page under the node of the workload,click Collapse,select the required container,and click Telnet to view.

Check Container Group Event #

The container cloud platform supports real-time viewing of all the events of the container,and displays the abnormal events visually,which is convenient for users to intuitively see the abnormal event types and frequency of pod in a certain time range.

Operating steps:

  1. Log in the MSP Platform

  2. In the MSP Platform “All Products” navigation bar,click the Workload under the Container Cloud Platform module

  3. Click select “Pods"and enter Pods list page,select the desired Pods,click Name to go to the details page.

  4. Click events on the right side of the navigation bar to enter the container group events page,which supports viewing the events of the container group,as shown in the following figure:

image_20220730191156_pod