How to debug “ImagePullBackOff”?

前端 未结 6 791
[愿得一人]
[愿得一人] 2020-12-04 08:58

All of a sudden, I cannot deploy some images which could be deployed before. I got the following pod status:

[root@webdev2 origin]# oc get pods 
NAME                 


        
6条回答
  •  孤城傲影
    2020-12-04 09:38

    I forgot to push the image tagged 1.0.8 to the ECR (AWS images hub)... If you are using Helm and upgrade by:

    helm upgrade minta-user ./src/services/user/helm-chart

    make sure that image tag inside values.yaml is pushed (to ECR or Docker Hub, etc) for example: (this is my helm-chart/values.yaml)

    replicaCount: 1
    
    image:
       repository:dkr.ecr.us-east-1.amazonaws.com/minta-user
       tag: 1.0.8
    

    you need to make sure that the image:1.0.8 is pushed!

提交回复
热议问题