Zun

Support file injection on container creation

Registered by hongbin

Nova has the '--file' option on "openstack server create". This option can do file injection into the instance. Zun would like to implement a similar feature. In particular, we need:

1. An API for end-users to pass custom files into the server.
2. Under the hook, Zun will put these files into a temporary directory inside the compute host and mount it into the container.

Use case: containerized application like etcd (https://coreos.com/etcd/docs/latest/v2/docker_guide.html) requires to inject SSL certificates into the container.

Blueprint information

Status:
Complete
Approver:
hongbin
Priority:
High
Drafter:
hongbin
Direction:
Approved
Assignee:
hongbin
Definition:
New
Series goal:
Accepted for stein
Implementation:
Implemented
Milestone target:
None
Started by
hongbin
Completed by
hongbin

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/inject-files-to-container,n,z

Addressed by: https://review.openstack.org/580876
    [WIP] Support file injection on container

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.