Pod remains in init state

Last Updated : Sep 21, 2020 |
Prolog information

Condition

A pod remains in initialization (init) state after deployment and displays the following message:
Failed create pod sandbox.

Solution

  1. Log in to the Cluster Control Manager (CCM) console as the customer user.
  2. Switch to being the root user by entering the command su.
  3. To restart the pod, run the following command:
    ADDITIONAL INFORMATION:
    kubectl delete pod <pod-name>, where pod name is the name of the pod in init state. For example, kubectl delete pod alarming-db-common-services-7d64b69879-7drdq
  4. To confirm that the pod is functional, run the following commands:
    ADDITIONAL INFORMATION:
    kubetl get pods