Browse Source

Change DC strategy from Rolling to Recreate for DB templates

Recreate strategy will allow the redeployment process to stay within
1Gi memory limit instead of requiring more memory due to extra pod
is created for Rolling strategy.

Signed-off-by: Vu Dinh <vdinh@redhat.com>
pull/84/head
Vu Dinh 8 years ago
parent
commit
113d6d01fe
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      openshift/templates/django-postgresql-persistent.json
  2. +1
    -1
      openshift/templates/django-postgresql.json

+ 1
- 1
openshift/templates/django-postgresql-persistent.json View File

@ -148,7 +148,7 @@
},
"spec": {
"strategy": {
"type": "Rolling"
"type": "Recreate"
},
"triggers": [
{


+ 1
- 1
openshift/templates/django-postgresql.json View File

@ -148,7 +148,7 @@
},
"spec": {
"strategy": {
"type": "Rolling"
"type": "Recreate"
},
"triggers": [
{


Loading…
Cancel
Save