Zun

implementing imgepullpolicy in zun

Registered by Pradeep Kumar Singh

1) If an image is updated then, containers need to be recreated, in that case we need to repull the image if image is with the same tag.
2) If a user is performing some tests, he may not want to pull image again and again from repository. So we don't need to pull the image again and again , instead use it from local host.

So we need to have some policy for pulling the image, which can be specified during the container create.

It can have following values:
IfNotPresent: do not pull an image if it already exists on host.
Always: Always pull the image from repositery.

If no tag or latest tag is there for image then policy default will be always.

Blueprint information

Status:
Complete
Approver:
hongbin
Priority:
Medium
Drafter:
Pradeep Kumar Singh
Direction:
Approved
Assignee:
Pradeep Kumar Singh
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Pradeep Kumar Singh
Completed by
Pradeep Kumar Singh

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/image-pull-policy,n,z

Addressed by: https://review.openstack.org/398949
    Implements image_pull_policy

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.