Adding REPLICAS_COUNT parameters to openshift/template.yaml.
integration/staging envs will run 1 replica.
staging/production envs will run 3 replicas.
@@ -79,6 +79,8 @@ parameters:
- name: LOG_LEVEL
value: "info"
required: true
+- name: REPLICAS_COUNT
+ value: "3"
apiVersion: v1
kind: Template
metadata:
@@ -92,7 +94,7 @@ objects:
selector:
matchLabels:
app: assisted-service
- replicas: 1
+ replicas: ${{REPLICAS_COUNT}}
template:
metadata:
labels:
