From 2631c4a95e15535bea9560b9ddc95e03ea3657d8 Mon Sep 17 00:00:00 2001 From: Vu Dinh Date: Tue, 25 Apr 2017 16:47:41 -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/nodejs-mongodb-persistent.json | 2 +- openshift/templates/nodejs-mongodb.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openshift/templates/nodejs-mongodb-persistent.json b/openshift/templates/nodejs-mongodb-persistent.json index 6ee999c..c570ca5 100644 --- a/openshift/templates/nodejs-mongodb-persistent.json +++ b/openshift/templates/nodejs-mongodb-persistent.json @@ -154,7 +154,7 @@ }, "spec": { "strategy": { - "type": "Rolling" + "type": "Recreate" }, "triggers": [ { diff --git a/openshift/templates/nodejs-mongodb.json b/openshift/templates/nodejs-mongodb.json index 5c177a7..161f158 100644 --- a/openshift/templates/nodejs-mongodb.json +++ b/openshift/templates/nodejs-mongodb.json @@ -154,7 +154,7 @@ }, "spec": { "strategy": { - "type": "Rolling" + "type": "Recreate" }, "triggers": [ {