Help Center> Cloud Container Engine> FAQs> Networking> Network Fault> How Do I Restore a Faulty Container NIC?
Updated on 2022-08-15 GMT+08:00

How Do I Restore a Faulty Container NIC?

If a container NIC is faulty, the container restarts repeatedly and cannot provide services for external systems. To rectify the fault, perform the following steps:

Procedure

  1. Run the following command to delete the pod of the faulty container:

    kubectl delete pod {podName} -n {podNamespace}

    Where,

    • {podName}: Enter the name of the pod of the faulty container.
    • {podNamespace}: Enter the namespace where the pod is located.

  2. After the pod of the faulty container is deleted, the system automatically recreates a pod for the container. In this way, the container NIC is restored.

Network Fault FAQs

more