nodepool-builder: configure upload workers, reduce nb03
Add a variable to configure upload-workers for nodepool-builder daemons. Reduce our defaults for nb03 to see if we can get more reliable uploads. Change-Id: I819bdd262c7118cbde4e6ffdc12aa3ac64569a96
This commit is contained in:
parent
b01291b832
commit
28fed0bcd5
@ -1,4 +1,6 @@
|
||||
letsencrypt_certs:
|
||||
nb03-opendev-org-main:
|
||||
- nb03.opendev.org
|
||||
|
||||
# This host only does ARM64 builds/uploads and is not super powerful.
|
||||
# Limit the uploads to happen one at a time.
|
||||
nodepool_builder_upload_workers: 1
|
||||
|
@ -6,3 +6,8 @@ Deploy nodepool-builder container
|
||||
:default: unset
|
||||
|
||||
Override tag for container deployment
|
||||
|
||||
.. zuul:rolevar:: nodepool_builder_upload_workers
|
||||
:default: 8
|
||||
|
||||
The number of upload workers
|
||||
|
@ -0,0 +1 @@
|
||||
nodepool_builder_upload_workers: 8
|
@ -6,7 +6,7 @@ services:
|
||||
network_mode: host
|
||||
restart: always
|
||||
stop_grace_period: 90s
|
||||
command: nodepool-builder -f -c /etc/nodepool/nodepool.yaml -l /etc/nodepool/builder-logging.conf --upload-workers 8
|
||||
command: nodepool-builder -f -c /etc/nodepool/nodepool.yaml -l /etc/nodepool/builder-logging.conf --upload-workers {{ nodepool_builder_upload_workers }}
|
||||
|
||||
privileged: true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user