Parameterize the number of replicas
This commit is contained in:
parent
52de126924
commit
8150f3e5b0
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue