Parameterize the number of replicas

This commit is contained in:
Ovidio Mallo 2016-12-07 23:51:04 +01:00
parent 52de126924
commit 8150f3e5b0

View file

@ -8,7 +8,7 @@ objects:
app: ${APP} app: ${APP}
name: ${APP} name: ${APP}
spec: spec:
replicas: 1 replicas: ${REPLICAS}
selector: selector:
app: ${APP} app: ${APP}
deploymentconfig: ${APP} deploymentconfig: ${APP}
@ -78,3 +78,7 @@ parameters:
- description: The environment into which the app is deployed. - description: The environment into which the app is deployed.
displayName: Environment displayName: Environment
name: ENV name: ENV
- description: The number of replicas.
displayName: Replicas
name: REPLICAS
value: 1