Pod stuck in CreateContainer error

When you change the system time, you might encounter an issue where the start time is earlier then the finish time for the pod.

You might also see a message similar to this:
The container name "XXX" is already in use by container "YYY". You  have to remove (or rename) that container to be able to reuse that  name.
Try to delete whichever pod is stuck in the terminating state to see whether that fixes it. For example, run this command:
kubectl delete pod -n <namespace> <pod name>
If the pod returns to the same state, run this command:
`kubectl describe pod -n | grep "Container ID"
From this listing of container IDs, delete the IDs one by one. For example, run this command:
"docker container rm <container id>"
Note: You might see a message that states that the container does not exist. If you do, continue deleting the rest of the containers.
After completion, verify that the stuck pod is now removed. For example, run this command:
kubectl get pods --all-namespaces