cronjobs jobs limit
This commit is contained in:
parent
b6f9cdedc2
commit
d1775ddbe4
1 changed files with 2 additions and 2 deletions
|
@ -5,6 +5,8 @@ metadata:
|
||||||
namespace: backups
|
namespace: backups
|
||||||
spec:
|
spec:
|
||||||
schedule: "0 2 * * *" # Runs daily at 2 AM
|
schedule: "0 2 * * *" # Runs daily at 2 AM
|
||||||
|
successfulJobsHistoryLimit: 1
|
||||||
|
failedJobsHistoryLimit: 1
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
|
@ -28,10 +30,8 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: nfs-configs
|
- name: nfs-configs
|
||||||
mountPath: /configs
|
mountPath: /configs
|
||||||
|
|
||||||
- name: nfs-git
|
- name: nfs-git
|
||||||
mountPath: /git
|
mountPath: /git
|
||||||
|
|
||||||
- name: nfs-backups
|
- name: nfs-backups
|
||||||
mountPath: /backups
|
mountPath: /backups
|
||||||
securityContext:
|
securityContext:
|
||||||
|
|
Loading…
Reference in a new issue