Project

General

Profile

DockerIntegration » History » Version 6

Kyle Baker, 12/15/2014 03:17 PM

1 1 Kyle Baker
h1. Docker Integration
2
3
h2. Summary
4
5 6 Kyle Baker
Katello/Foreman will serve as an on premise registry for customers. Docker images, which are available as part of the Red Hat Subscription, can be mirrored in the same way that RPMs and Puppet Modules are mirrored. Customers will also be able to upload their own images using the command line. Once in Katello/Foreman, they can be added to content views and promoted like any content. Once promoted, Katello/Foreman will be able to provision containers onto machines using the docker daemon. Once provisioned, the containers will be able to access rpm content from the Katello/Foreman using the hosts subscriptions. These features support docker containers as part of the Application Lifecycle which was introduced with RPMS in 6.0. 
6 1 Kyle Baker
7 6 Kyle Baker
This space is expected to change dramatically, to Katello/Foreman should support a simple lifecycle. Future versions may support kubernetes and other more complex lifecycles.
8 2 Kyle Baker
9 1 Kyle Baker
h2. Targeted Release
10
11 2 Kyle Baker
Foreman 1.9 / Katello 2.3
12 1 Kyle Baker
13
h2. Targeted Persona
14
15 4 Kyle Baker
[[Personas-SystemEngineer| Samuel - System Engineer]]
16 1 Kyle Baker
Developer Operations
17 2 Kyle Baker
18 1 Kyle Baker
h2. Status
19
20 5 Kyle Baker
h3. Use Cases
21 1 Kyle Baker
22 2 Kyle Baker
Owner - David Caplan
23
Status - In Progress
24 1 Kyle Baker
Expected Delivery - TBD
25
Blockers - None
26
27
h3. Requirements 
28
29 2 Kyle Baker
Owner - Mike Mccune / David Caplan
30
Status - In Progress
31 1 Kyle Baker
Expected Delivery - TBD
32 2 Kyle Baker
Blockers  - None
33 1 Kyle Baker
34
h3. Wireframes
35
36 2 Kyle Baker
Owner - Kyle Baker
37 1 Kyle Baker
Status - Not Started
38
Blockers - Waiting on User Stories & Requirements
39 2 Kyle Baker
Last updated TBD - --
40 1 Kyle Baker
41
h3. Development Stories
42
43
Owner - Foreman (TBD) Katello (TBD)
44
Status - Not Started
45
Expected Delivery - TBD
46
Blockers - Waiting on Wireframes
47
48
h2. Documentation
49
50 5 Kyle Baker
h3. Bugs/RFEs
51
52
https://bugzilla.redhat.com/show_bug.cgi?id=1043927
53
54
h3. Use Cases
55 1 Kyle Baker
56
* Please include a story describing how the user would transverse this feature including the workflow. This story ideally would include what their actions would be before and after completion of the task.
57
 
58
h3. Requirements
59
60 2 Kyle Baker
* Sync Docker images from the CDN/RedHat Docker Registry
61
** Subscriptions are a nice to have based on discussions with RCM.
62
* Sync Docker images from Docker Hub
63
* Create local registry without subscriptions
64
** http://projects.theforeman.org/issues/7124
65
** http://projects.theforeman.org/issues/7127
66
* Promote docker images through the environments
67
** Subscriptions generated for machines should support the org,environment, and content view namespacing in the same way that yum repos.
68 6 Kyle Baker
* Support docker pull and docker build commands against Katello/Foreman.
69 2 Kyle Baker
** Docker push will not be supported
70
** http://projects.theforeman.org/issues/7126
71
* Integrate Crane into the Smart Proxy so that it is part of the Capsule.
72
** Installer should support installing and configuring crane 
73
* Install and launch a docker image on a rhel machine or an atomic machine.
74
* List the instances which have been launched or synced down
75
** Listing should include information from the metadata
76
* Update hammer to expose these features
77
* Content Search should be consistent with docker images
78
* From the UI, I should be able to view all tags for each repository or imager.
79
* Docker images should be supported via the Disconnected Utility.
80
* It would be nice to be able to deliver / install docker as a separable unit.
81
* It may be a requirement to debrand the term “doker” in the downstream product.
82
83
h3. Additional Information
84
85
* Upstream Tracker: http://projects.theforeman.org/issues/7125
86
* Ju Lims Slides: See the Systems Administrator top 5: https://docs.google.com/a/redhat.com/presentation/d/1xfvtTFinmyOFqj_p1MdoiuR0vQRD5TxyX7lF-NyAQbQ/edit#slide=id.g377291810_029
87
* Ju Lims General Requirements: https://docs.google.com/a/redhat.com/spreadsheets/d/17DXDtsDOKfo2yBQbEvv1jZvKmAchSmBXsQxfctJI3JI/edit#gid=448766426
88 3 Kyle Baker
89
h4. Questions
90
91
# Is each environment a unique “registry”, or is there one registry? 
92
# Are there “docker” permissions?
93
# How does Kubernetes for into this?
94
95
h4. Impacted
96
97
# Pulp: Need to install Crane
98
# Candlepin: Subscriptions should unlock docker images
99
# Katello: Content syncing, showing hosts as green
100
# Foreman: Provision docker container.