This is an automated email from the ASF dual-hosted git repository.

msciabarra pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-openwhisk-deploy-kube.git


The following commit(s) were added to refs/heads/master by this push:
     new caba286  configure Jobs with backoffLimit instead of 
activeDeadlineSeconds (#457)
caba286 is described below

commit caba286eeb8f316b35a2a9c0f3933c8aa957875f
Author: David Grove <dgrove-...@users.noreply.github.com>
AuthorDate: Tue Apr 30 16:05:35 2019 -0400

    configure Jobs with backoffLimit instead of activeDeadlineSeconds (#457)
    
    We want jobs to run until either they've completed or they have
    failed multiple times (and thus we want to give up). Should make
    deployment more robust when it takes a very long time for the invoker
    to docker pull all the runtime images (the install-packages job will
    not start until there is at least one healthy invoker).
---
 helm/openwhisk/templates/couchdb-init-job.yaml     | 2 +-
 helm/openwhisk/templates/install-packages-job.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/helm/openwhisk/templates/couchdb-init-job.yaml 
b/helm/openwhisk/templates/couchdb-init-job.yaml
index ab8194b..7d73333 100644
--- a/helm/openwhisk/templates/couchdb-init-job.yaml
+++ b/helm/openwhisk/templates/couchdb-init-job.yaml
@@ -10,7 +10,7 @@ metadata:
     name: {{ .Release.Name }}-init-couchdb
 {{ include "openwhisk.label_boilerplate" . | indent 4 }}
 spec:
-  activeDeadlineSeconds: 600
+  backoffLimit: 3
   template:
     metadata:
       name: {{ .Release.Name }}-init-couchdb
diff --git a/helm/openwhisk/templates/install-packages-job.yaml 
b/helm/openwhisk/templates/install-packages-job.yaml
index 003a32a..553ff88 100644
--- a/helm/openwhisk/templates/install-packages-job.yaml
+++ b/helm/openwhisk/templates/install-packages-job.yaml
@@ -9,7 +9,7 @@ metadata:
     name: {{ .Release.Name }}-install-packages
 {{ include "openwhisk.label_boilerplate" . | indent 4 }}
 spec:
-  activeDeadlineSeconds: 900
+  backoffLimit: 3
   template:
     metadata:
       name: {{ .Release.Name }}-install-packages

Reply via email to