From 8150f3e5b031184f79dfd2f481eb4eb60a39ea26 Mon Sep 17 00:00:00 2001 From: Ovidio Mallo Date: Wed, 7 Dec 2016 23:51:04 +0100 Subject: [PATCH] Parameterize the number of replicas --- deployment/config/app.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deployment/config/app.yaml b/deployment/config/app.yaml index d70f3de..8b484e9 100644 --- a/deployment/config/app.yaml +++ b/deployment/config/app.yaml @@ -8,7 +8,7 @@ objects: app: ${APP} name: ${APP} spec: - replicas: 1 + replicas: ${REPLICAS} selector: app: ${APP} deploymentconfig: ${APP} @@ -78,3 +78,7 @@ parameters: - description: The environment into which the app is deployed. displayName: Environment name: ENV +- description: The number of replicas. + displayName: Replicas + name: REPLICAS + value: 1