In the base image I see the following lines:
ENV PULP_CONTENT_WORKERS=${PULP_CONTENT_WORKERS:-2}
ENV PULP_API_WORKERS=${PULP_API_WORKERS:-2}
By default these are both set to 2. My questions are:
- Do these environment variables limit the total number of pulp-content or pulp-api workers that can run across the deployment?
- Or do they only affect the number of worker processes inside a single container, and have no effect on how many
pulp-content
orpulp-api
containers we can start in parallel?
For example, if we run 10 pulp-content
containers with PULP_CONTENT_WORKERS=2
, should we expect 10 total workers, or is the limit still 2 overall?
And similarly, if we run 10 pulp-api
containers with PULP_API_WORKERS=2
, should we expect 10 total API workers?