diff --git a/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml b/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml index 1928989dd3..e3b3854efd 100644 --- a/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml +++ b/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml @@ -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 diff --git a/sysinv/sysinv/sysinv/sysinv/helm/nova_api_proxy.py b/sysinv/sysinv/sysinv/sysinv/helm/nova_api_proxy.py index 7f65294a6f..2852907f86 100644 --- a/sysinv/sysinv/sysinv/sysinv/helm/nova_api_proxy.py +++ b/sysinv/sysinv/sysinv/sysinv/helm/nova_api_proxy.py @@ -30,6 +30,9 @@ class NovaApiProxyHelm(openstack.OpenstackBaseHelm): 'nova_api_proxy': { 'uid': 0 } + }, + 'replicas': { + 'proxy': self._num_controllers() } }, 'conf': {