Set replica number as 1 while hpa min as either

Change-Id: I4f7fb109a2ebc2975f76f43855117ed4feddfc53
This commit is contained in:
okozachenko 2020-06-17 18:27:33 +03:00
parent a38582dacc
commit 3037529ee5
6 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@ metadata:
labels:
{{ labels("heat", name, component) | indent(4) }}
spec:
replicas: 3
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:

View File

@ -25,6 +25,6 @@ spec:
apiVersion: apps/v1
kind: Deployment
name: heat-{{ component }}
minReplicas: 2
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 90

View File

@ -21,7 +21,7 @@ metadata:
labels:
{{ labels("horizon", name) | indent(4) }}
spec:
replicas: 3
replicas: 1
selector:
matchLabels:
{{ labels("horizon", name) | indent(6) }}

View File

@ -25,6 +25,6 @@ spec:
apiVersion: apps/v1
kind: Deployment
name: horizon
minReplicas: 2
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 90

View File

@ -21,7 +21,7 @@ metadata:
labels:
{{ labels("keystone", name) | indent(4) }}
spec:
replicas: 3
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:

View File

@ -25,6 +25,6 @@ spec:
apiVersion: apps/v1
kind: Deployment
name: keystone
minReplicas: 2
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 90