Skip to content

Commit 113d6d0

Browse files
committed
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 <[email protected]>
1 parent ce8bc24 commit 113d6d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

openshift/templates/django-postgresql-persistent.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
},
149149
"spec": {
150150
"strategy": {
151-
"type": "Rolling"
151+
"type": "Recreate"
152152
},
153153
"triggers": [
154154
{

openshift/templates/django-postgresql.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
},
149149
"spec": {
150150
"strategy": {
151-
"type": "Rolling"
151+
"type": "Recreate"
152152
},
153153
"triggers": [
154154
{

0 commit comments

Comments
 (0)