Replicate nova-api-proxy pod
The nova-api-proxy is currently running in a single pod on one of the controllers. To improve recovery time when a controller fails, the nova-api-proxy pod will now be run with replicas set to two and anti-affinity configured so there is a pod on each controller. Closes-bug: 1833730 Change-Id: Iacd17251b86050e337d9a0f832b9dfa6e9864fce Signed-off-by: Bart Wensley <barton.wensley@windriver.com>
This commit is contained in:
parent
afbf4b7920
commit
6790b7e7c7
@ -1127,6 +1127,11 @@ data:
|
||||
tags:
|
||||
nova_api_proxy: docker.io/starlingx/stx-nova-api-proxy:master-centos-stable-latest
|
||||
ks_endpoints: docker.io/starlingx/stx-heat:master-centos-stable-latest
|
||||
pod:
|
||||
affinity:
|
||||
anti:
|
||||
type:
|
||||
default: requiredDuringSchedulingIgnoredDuringExecution
|
||||
source:
|
||||
type: tar
|
||||
location: http://172.17.0.1/helm_charts/starlingx/nova-api-proxy-0.1.0.tgz
|
||||
|
@ -30,6 +30,9 @@ class NovaApiProxyHelm(openstack.OpenstackBaseHelm):
|
||||
'nova_api_proxy': {
|
||||
'uid': 0
|
||||
}
|
||||
},
|
||||
'replicas': {
|
||||
'proxy': self._num_controllers()
|
||||
}
|
||||
},
|
||||
'conf': {
|
||||
|
Loading…
Reference in New Issue
Block a user