Badges: run multiple consumers in prod
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
48c6c44d27
commit
b6f7f24d6c
2 changed files with 2 additions and 2 deletions
|
@ -158,7 +158,7 @@
|
|||
# Deployment config
|
||||
- role: openshift/object
|
||||
app: badges
|
||||
file: deploymentconfig.yml
|
||||
template: deploymentconfig.yml
|
||||
objectname: deploymentconfig.yml
|
||||
|
||||
# Cron jobs
|
||||
|
|
|
@ -129,7 +129,7 @@ metadata:
|
|||
app: badges
|
||||
spec:
|
||||
# There can be as many as necessary
|
||||
replicas: 1
|
||||
replicas: {{ (env == 'production')|ternary(5, 1) }}
|
||||
selector:
|
||||
app: badges
|
||||
deploymentconfig: consumer
|
Loading…
Add table
Add a link
Reference in a new issue