From 282fbcb0d27b5c290c12809de69a65068c96180c Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 6 Feb 2020 08:34:52 -0800 Subject: [PATCH] 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 --- nodepool/nl02.openstack.org.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/nodepool/nl02.openstack.org.yaml b/nodepool/nl02.openstack.org.yaml index 0eb2253a2c..a1db18f994 100644 --- a/nodepool/nl02.openstack.org.yaml +++ b/nodepool/nl02.openstack.org.yaml @@ -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