Project

Profile

Help

Task #5060

closed

Task #5069: Build pulp 3 containers

Rework 4 existing container images into 1 image with 4 different entrypoints

Added by mdepaulo@redhat.com over 5 years ago. Updated about 5 years ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 55
Quarter:

Description

In order to avoid container image layering sprawl, especially when building the container images with different sets of plugins, we need to go from 4 container images:
pulp-api
pulp-content (based on pulp-api)
pulp-worker (based on pulp-api)
pulp-resource-manager (based on pulp-api)

To just one image.
(Name will depend on whether plugins are installed, and which ones).

It will be the responsbility of the operator/script to call the 4 different entrypoints, 1 for each service/container.

The image will need to provide commands (with stable paths) that encapsulate all that I need to be done for each service/container. Right now it may only be a command with a symlink, but later on it may be a script. For example:
/usr/bin/entrypoint-pulp-api
/usr/bin/entrypoint-pulp-content
/usr/bin/entrypoint-pulp-resource-manager
/usr/bin/entrypoint-pulp-worker

Also available in: Atom PDF