chore(k8s/vikunja): pause Vikunja by scaling to zero
This commit is contained in:
@@ -7,6 +7,7 @@ metadata:
|
|||||||
app: vikunja-backup
|
app: vikunja-backup
|
||||||
spec:
|
spec:
|
||||||
schedule: "0 2 * * *"
|
schedule: "0 2 * * *"
|
||||||
|
suspend: true
|
||||||
concurrencyPolicy: Forbid
|
concurrencyPolicy: Forbid
|
||||||
successfulJobsHistoryLimit: 3
|
successfulJobsHistoryLimit: 3
|
||||||
failedJobsHistoryLimit: 3
|
failedJobsHistoryLimit: 3
|
||||||
@@ -90,6 +91,7 @@ metadata:
|
|||||||
app: vikunja-backup
|
app: vikunja-backup
|
||||||
spec:
|
spec:
|
||||||
schedule: "0 3 * * *"
|
schedule: "0 3 * * *"
|
||||||
|
suspend: true
|
||||||
concurrencyPolicy: Forbid
|
concurrencyPolicy: Forbid
|
||||||
successfulJobsHistoryLimit: 3
|
successfulJobsHistoryLimit: 3
|
||||||
failedJobsHistoryLimit: 3
|
failedJobsHistoryLimit: 3
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app: vikunja
|
app: vikunja
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 0
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ metadata:
|
|||||||
app: vikunja-db
|
app: vikunja-db
|
||||||
spec:
|
spec:
|
||||||
serviceName: vikunja-db
|
serviceName: vikunja-db
|
||||||
replicas: 1
|
replicas: 0
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: vikunja-db
|
app: vikunja-db
|
||||||
|
|||||||
Reference in New Issue
Block a user