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}
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