Skip to content

Commit

Permalink
fix(Nextcloud): add backofflimit, to stop pod spamming
Browse files Browse the repository at this point in the history
If a pod failed it would have restarted immediatly which resulted in a
DOS of the postgres connections.

Signed-off-by: Philip Miglinci <pmig@glasskube.eu>
  • Loading branch information
pmig authored and kosmoz committed Jan 12, 2024
1 parent b192a3d commit e442138
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class NextcloudCronJob : CRUDKubernetesDependentResource<CronJob, Nextcloud>(Cro
schedule = "*/5 * * * *"
jobTemplate {
spec {
backoffLimit = 1
template {
spec {
restartPolicy = "Never"
Expand Down

0 comments on commit e442138

Please sign in to comment.