Skip to content

Commit

Permalink
[MOSIP-28488] Updated backoffLimit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohanraj209 committed Jul 21, 2023
1 parent 823d854 commit 42e3dd6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/apitestrig/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
schedule: {{ $.Values.crontime }}
jobTemplate:
spec:
backoffLimit: 0 # this has very low chance of failing, as all this does
backoffLimit: {{ .Values.backoffLimit }} # this has very low chance of failing, as all this does
# is prompt kubernetes to schedule new replica set for
# the deployment
# activeDeadlineSeconds: 600 # timeout, makes most sense with
Expand Down
4 changes: 4 additions & 0 deletions charts/apitestrig/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,10 @@ customLivenessProbe: {}
##
customReadinessProbe: {}

## "backoff" strategy - It is used when dealing with resources that are retrying or recovering from failures.
##
backoffLimit: 0

## Update strategy - only really applicable for deployments with RWO PVs attached
## If replicas = 1, an update can get "stuck", as the previous pod remains attached to the
## PV, and the "incoming" pod can never start. Changing the strategy to "Recreate" will
Expand Down
2 changes: 1 addition & 1 deletion charts/dslorchestrator/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
schedule: {{ .Values.crontime }}
jobTemplate:
spec:
backoffLimit: 0 # this has very low chance of failing, as all this does
backoffLimit: {{ .Values.backoffLimit }} # this has very low chance of failing, as all this does
# is prompt kubernetes to schedule new replica set for
# the deployment
# activeDeadlineSeconds: 600 # timeout, makes most sense with
Expand Down
4 changes: 4 additions & 0 deletions charts/dslorchestrator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,10 @@ customLivenessProbe: {}
##
customReadinessProbe: {}

## "backoff" strategy - It is used when dealing with resources that are retrying or recovering from failures.
##
backoffLimit: 0

## Update strategy - only really applicable for deployments with RWO PVs attached
## If replicas = 1, an update can get "stuck", as the previous pod remains attached to the
## PV, and the "incoming" pod can never start. Changing the strategy to "Recreate" will
Expand Down

0 comments on commit 42e3dd6

Please sign in to comment.