Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
justin
rclone-to-dropbox
Commits
2e64d90c
Verified
Commit
2e64d90c
authored
Nov 17, 2019
by
justin
Browse files
Add rclone job for Prometheus metrics bucket.
parent
d08da83d
Pipeline
#631
passed with stage
in 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
deploy/kubectl-apply/gke/backup.yaml
View file @
2e64d90c
...
...
@@ -93,3 +93,35 @@ spec:
secret
:
secretName
:
rclone-backup
restartPolicy
:
OnFailure
---
apiVersion
:
batch/v1beta1
kind
:
CronJob
metadata
:
name
:
rclone-gitlab-prometheus-to-dropbox
namespace
:
gitlab
spec
:
schedule
:
"
0
16
*
*
*"
jobTemplate
:
spec
:
template
:
spec
:
containers
:
-
name
:
rclone-to-dropbox
image
:
rclone/rclone
args
:
-
--config
-
/secrets/rclone-backup/rclone.conf
-
-v
-
copy
-
--no-traverse
-
palpantlab-gcs:gke-gitlab-prometheus-backup
-
dropbox:gke-gitlab-prometheus-backup
volumeMounts
:
-
name
:
rclone-backup-secret
mountPath
:
/secrets/rclone-backup
readOnly
:
true
volumes
:
-
name
:
rclone-backup-secret
secret
:
secretName
:
rclone-backup
restartPolicy
:
OnFailure
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment