diff --git a/openstack_operator/templates/heat/deployment.yml.j2 b/openstack_operator/templates/heat/deployment.yml.j2 index bc84d07b..8b7b5d56 100644 --- a/openstack_operator/templates/heat/deployment.yml.j2 +++ b/openstack_operator/templates/heat/deployment.yml.j2 @@ -27,7 +27,7 @@ metadata: labels: {{ labels("heat", name, component) | indent(4) }} spec: - replicas: 3 + replicas: 1 strategy: type: RollingUpdate rollingUpdate: diff --git a/openstack_operator/templates/heat/horizontalpodautoscaler.yml.j2 b/openstack_operator/templates/heat/horizontalpodautoscaler.yml.j2 index cab4cdfe..62f89e4d 100644 --- a/openstack_operator/templates/heat/horizontalpodautoscaler.yml.j2 +++ b/openstack_operator/templates/heat/horizontalpodautoscaler.yml.j2 @@ -25,6 +25,6 @@ spec: apiVersion: apps/v1 kind: Deployment name: heat-{{ component }} - minReplicas: 2 + minReplicas: 1 maxReplicas: 10 targetCPUUtilizationPercentage: 90 diff --git a/openstack_operator/templates/horizon/deployment.yml.j2 b/openstack_operator/templates/horizon/deployment.yml.j2 index 2af2fade..f0d9b74a 100644 --- a/openstack_operator/templates/horizon/deployment.yml.j2 +++ b/openstack_operator/templates/horizon/deployment.yml.j2 @@ -21,7 +21,7 @@ metadata: labels: {{ labels("horizon", name) | indent(4) }} spec: - replicas: 3 + replicas: 1 selector: matchLabels: {{ labels("horizon", name) | indent(6) }} diff --git a/openstack_operator/templates/horizon/horizontalpodautoscaler.yml.j2 b/openstack_operator/templates/horizon/horizontalpodautoscaler.yml.j2 index d155a61e..d3416719 100644 --- a/openstack_operator/templates/horizon/horizontalpodautoscaler.yml.j2 +++ b/openstack_operator/templates/horizon/horizontalpodautoscaler.yml.j2 @@ -25,6 +25,6 @@ spec: apiVersion: apps/v1 kind: Deployment name: horizon - minReplicas: 2 + minReplicas: 1 maxReplicas: 10 targetCPUUtilizationPercentage: 90 diff --git a/openstack_operator/templates/keystone/deployment.yml.j2 b/openstack_operator/templates/keystone/deployment.yml.j2 index 3057027c..5525e2fe 100644 --- a/openstack_operator/templates/keystone/deployment.yml.j2 +++ b/openstack_operator/templates/keystone/deployment.yml.j2 @@ -21,7 +21,7 @@ metadata: labels: {{ labels("keystone", name) | indent(4) }} spec: - replicas: 3 + replicas: 1 strategy: type: RollingUpdate rollingUpdate: diff --git a/openstack_operator/templates/keystone/horizontalpodautoscaler.yml.j2 b/openstack_operator/templates/keystone/horizontalpodautoscaler.yml.j2 index ce62aeb4..b8458cfe 100644 --- a/openstack_operator/templates/keystone/horizontalpodautoscaler.yml.j2 +++ b/openstack_operator/templates/keystone/horizontalpodautoscaler.yml.j2 @@ -25,6 +25,6 @@ spec: apiVersion: apps/v1 kind: Deployment name: keystone - minReplicas: 2 + minReplicas: 1 maxReplicas: 10 targetCPUUtilizationPercentage: 90