How to retry image pull in a kubernetes Pods?

前端 未结 7 1271
挽巷
挽巷 2021-01-29 23:49

I am new to kubernetes. I have an issue in the pods. When I run the command

 kubectl get pods

Result:

NAME                   RE         


        
7条回答
  •  遇见更好的自我
    2021-01-30 00:31

    First try to see what's wrong with the pod:

    kubectl logs -p 
    

    In my case it was a problem with the YAML file.

    So, I needed to correct the configuration file and replace it:

    kubectl replace --force -f 
    

提交回复
热议问题