Add capacity to airship CI cloud

The airship jobs are expected to need 1x32GB ram instance + 3x16GB ram
instances each. The goal is to run 4 jobs concurrently which gives us 16
max-instances in the airship pool. We set the main pool to max 10
instances of the smaller 8GB ram instances to act as canaries in the
main pool.

Change-Id: Ie0293d0523f8a9a738015035725ea2e40b152d3d
This commit is contained in:
Clark Boylan 2020-02-06 08:34:52 -08:00
parent 7d6c978e70
commit 282fbcb0d2
1 changed files with 12 additions and 3 deletions

View File

@ -29,6 +29,8 @@ labels:
min-ready: 0
- name: ubuntu-bionic-expanded
min-ready: 0
- name: ubuntu-bionic-32GB
min-ready: 0
- name: multi-numa-ubuntu-bionic
min-ready: 0
- name: multi-numa-ubuntu-bionic-expanded
@ -373,7 +375,8 @@ providers:
diskimages: *provider_diskimages
pools:
- name: main
max-servers: 0
# Canary capacity (by memory less than half capacity of airship pool).
max-servers: 10
labels:
- name: centos-7
min-ram: 8000
@ -433,14 +436,20 @@ providers:
# TODO add nested virt labels once confirmed nested virt works
# to some degree.
- name: airship
max-servers: 0
# Jobs expected to run 1x 32GB instance + 3x 16GB instances with
# goal of running 4 jobs concurrently.
max-servers: 16
labels:
# TODO figure out what flavors are needed here
- name: ubuntu-bionic-expanded
min-ram: 16000
flavor-name: '8C-16GB-100GB'
diskimage: ubuntu-bionic
key-name: infra-root-keys-2018-06-15
- name: ubuntu-bionic-32GB
min-ram: 32000
flavor-name: '8C-32GB-100GB'
diskimage: ubuntu-bionic
key-name: infra-root-keys-2018-06-15
diskimages:
- name: centos-7