openstack-armada-app/python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack
Mihnea Saracin 754a1d33de Fix apply of stx-openstack when host is locked
Currently, all of the stx-openstack services have the
replica count set to the number of the controllers.
If one of the controllers is locked their replicas
number will still be 2 which is incorrect.
We solve this by changing the number of replicas
to be equal to the number of the active controllers.
The rabbitmq service cannot use this approach because
it is unable to work properly if its replicas number
is decreasaed from 2 to 1. So a kubernetes toleration
is used here to allow the second rabbitmq pod to be
deployed on the locked controller.

Change-Id: Ie979c7b5f2755ad673bd180e38b68e0d53c5f9b2
Closes-Bug: 1879018
Signed-off-by: Mihnea Saracin <Mihnea.Saracin@windriver.com>
2020-07-23 17:08:36 +03:00
..
armada Make plugins that are common across applications unique 2020-06-24 07:55:51 -04:00
common Make plugins that are common across applications unique 2020-06-24 07:55:51 -04:00
helm Fix apply of stx-openstack when host is locked 2020-07-23 17:08:36 +03:00
tests Enable helm/armada plugin delivery with the application 2020-05-27 15:05:02 -04:00
__init__.py Enable helm/armada plugin delivery with the application 2020-05-27 15:05:02 -04:00