From 113d6d01fe26eeb68c0d451a7c9ea3e42ff2071e Mon Sep 17 00:00:00 2001 From: Vu Dinh Date: Tue, 25 Apr 2017 16:52:07 -0400 Subject: [PATCH] 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 --- openshift/templates/django-postgresql-persistent.json | 2 +- openshift/templates/django-postgresql.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openshift/templates/django-postgresql-persistent.json b/openshift/templates/django-postgresql-persistent.json index 9f982c2..152bf1c 100644 --- a/openshift/templates/django-postgresql-persistent.json +++ b/openshift/templates/django-postgresql-persistent.json @@ -148,7 +148,7 @@ }, "spec": { "strategy": { - "type": "Rolling" + "type": "Recreate" }, "triggers": [ { diff --git a/openshift/templates/django-postgresql.json b/openshift/templates/django-postgresql.json index 7bee85d..f3b5f97 100644 --- a/openshift/templates/django-postgresql.json +++ b/openshift/templates/django-postgresql.json @@ -148,7 +148,7 @@ }, "spec": { "strategy": { - "type": "Rolling" + "type": "Recreate" }, "triggers": [ {