Hydrospheredata / hydro-serving

MLOps Platform
http://docs.hydrosphere.io
Apache License 2.0
271 stars 42 forks source link

pull image error when adding application #298

Closed ggosiang closed 3 years ago

ggosiang commented 5 years ago

just followed example https://hydrosphere.io/serving-docs/latest/tutorials/python.html

Currently I can use CLI to upload model and set application, but test application always got failed. (seems docker image can't be pulled successfully)

and this is event log of increment-model-*** pod,

Events:
  Type     Reason     Age                   From                                                  Message
  ----     ------     ----                  ----                                                  -------
  Normal   Scheduled  31m                   default-scheduler                                     Successfully assigned default/increment-model-9-7b5cd486f6-tdcpt to gke-default-pool-e31bd3ab-9dvs
  Normal   Pulling    29m (x4 over 31m)     kubelet, gke-default-pool-e31bd3ab-9dvs  pulling image "localhost:5000/increment_model:1"
  Warning  Failed     28m (x4 over 31m)     kubelet, gke-default-pool-e31bd3ab-9dvs  Failed to pull image "localhost:5000/increment_model:1": rpc error: code = Unknown desc = Error response from daemon: Get http://localhost:5000/v2/: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
  Normal   BackOff    28m (x6 over 31m)     kubelet, gke-default-pool-e31bd3ab-9dvs  Back-off pulling image "localhost:5000/increment_model:1"
  Warning  Failed     6m48s (x91 over 31m)  kubelet, gke-default-pool-e31bd3ab-9dvs  Error: ImagePullBackOff
  Warning  Failed     106s (x10 over 31m)   kubelet, gke-default-pool-e31bd3ab-9dvs  Error: ErrImagePull
stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.