tencent cloud

masukan

Overview

Terakhir diperbarui:2024-12-13 14:48:39
    Users often have to perform complex customization tasks on TKE clusters in order to accommodate their businesses. When Pods do not function properly, it is hard to pinpoint the exact cause. This article aims to provide a starting point for troubleshooting these issues.
    Pod Exceptions is a great series of articles that describes how to troubleshoot and solve these issues.

    Common Commands

    The following is a list of commands commonly used for troubleshooting Pod issues:
    Query Pod status
    kubectl get pod <pod-name> -o wide
    Query Pod YAML configuration
    kubectl get pod <pod-name> -o yaml
    Query Pod events
    kubectl describe pod <pod-name>
    Query container logs
    kubectl logs <pod-name> [-c <container-name>]

    Pod Statuses

    The following table provides a list of Pod statuses:
    Status
    Description
    Error
    Error occurred during Pod launch.
    NodeLost
    The node on which the Pod resides is unreachable.
    Unkown
    Pod is unreachable or other unknown exception.
    Waiting
    Pod is waiting to launch.
    Pending
    Pod is waiting to be scheduled.
    ContainerCreating
    Pod containers are being created.
    Terminating
    Pod is being terminated.
    CrashLoopBackOff
    Container exited. Kubelet is restarting it.
    InvalidImageName
    Unable to resolve image name.
    ImageInspectError
    Unable to verify image.
    ErrImageNeverPull
    Policy prohibits image pull.
    ImagePullBackOff
    Trying to pull the image again.
    RegistryUnavailable
    Unable to connect to the image registry.
    ErrImagePull
    General image pull error.
    CreateContainerConfigError
    Unable to create the container configuration used by kubelet.
    CreateContainerError
    Failed to create container.
    RunContainerError
    Failed to launch container.
    PreStartHookError
    preStart hook execution error.
    PostStartHookError
    postStart hook execution error.
    ContainersNotInitialized
    Container not initialized.
    ContainersNotReady
    Container not ready.
    ContainerCreating
    Container is being created.
    PodInitializing
    Pod being initialized.
    DockerDaemonNotReady
    Docker is not ready.
    NetworkPluginNotReady
    Network plugin not ready.
    

    Troubleshooting

    Use one of the following articles to troubleshoot your Pod exceptions:
    Hubungi Kami

    Hubungi tim penjualan atau penasihat bisnis kami untuk membantu bisnis Anda.

    Dukungan Teknis

    Buka tiket jika Anda mencari bantuan lebih lanjut. Tiket kami tersedia 7x24.

    Dukungan Telepon 7x24