Skip to content

ch8 : ErrImagePull when create pod with curl.yaml #37

Description

@906798724

when i create pod with curl.yaml, I got an error

controlplane $ k get pod
NAME   READY   STATUS         RESTARTS   AGE
curl   0/1     ErrImagePull   0          5s

here is the events:

Events:
  Type     Reason     Age               From                   Message
  ----     ------     ----              ----                   -------
  Normal   Scheduled  18s               default-scheduler      Successfully assigned default/curl to controlplane
  Normal   BackOff    16s               kubelet, controlplane  Back-off pulling image "tutum/curl"
  Warning  Failed     16s               kubelet, controlplane  Error: ImagePullBackOff
  Normal   Pulling    3s (x2 over 18s)  kubelet, controlplane  Pulling image "tutum/curl"
  Warning  Failed     2s (x2 over 16s)  kubelet, controlplane  Failed to pull image "tutum/curl": rpc error: code = Unknown desc = Error response from daemon: pull access denied for tutum/curl, repository does not exist or may require 'docker login'
  Warning  Failed     2s (x2 over 16s)  kubelet, controlplane  Error: ErrImagePull

looks like image tutum/curl not exists, what can I do to handle this error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions