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:
{{ labels("heat", name, component) | indent(4) }} {{ labels("heat", name, component) | indent(4) }}
spec: spec:
replicas: 3 replicas: 1
strategy: strategy:
type: RollingUpdate type: RollingUpdate
rollingUpdate: rollingUpdate:

View File

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

View File

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

View File

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

View File

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

View File

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