enable replicas of most nova pods

For HA and load-balancing purposes we would like to have as many
nova pods as possible replicated across the controller nodes.

The vnc proxy pod has not yet been validated with multiple pods,
the intent is to enable replicas for it too when possible.

Change-Id: If11b84174086f72c4e9ef0ef354b797922e60076
Story: 2004520
Task: 28625
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
This commit is contained in:
Chris Friesen 2019-01-02 14:11:42 -06:00
parent 626a28c4ab
commit 4774efeeb1

View File

@ -63,6 +63,15 @@ class NovaHelm(openstack.OpenstackBaseHelm):
overrides = {
common.HELM_NS_OPENSTACK: {
'pod': {
'replicas': {
'api_metadata': self._num_controllers(),
'placement': self._num_controllers(),
'osapi': self._num_controllers(),
'conductor': self._num_controllers(),
'consoleauth': self._num_controllers(),
'scheduler': self._num_controllers(),
# set replicas for novncproxy once it's validated.
},
'user': {
'nova': {
'uid': 0