2019-01-02 04:50:14 +00:00
|
|
|
# Backups
|
|
|
|
|
2019-06-19 16:33:44 +00:00
|
|
|
We're using [Velero][1] (formerly Ark) for backing up Kubernetes config and GKE
|
|
|
|
resources. It is available as a compiled binary for your platform [on GitHub][2]
|
2019-01-05 02:22:48 +00:00
|
|
|
|
2019-06-19 16:33:44 +00:00
|
|
|
The Velero service is running on the Sidamo cluster and was set up using the
|
|
|
|
[official docs' GCP instructions][3]. There's a daily backup
|
2019-01-05 03:23:17 +00:00
|
|
|
schedule in effect for Gitea (using the label `app=gitea`).
|
|
|
|
|
2019-06-19 16:33:44 +00:00
|
|
|
Please refer to Velero's [ Getting Started ][4] doc for all backup and restore
|
2019-01-05 03:23:17 +00:00
|
|
|
commands.
|
2019-01-02 04:50:14 +00:00
|
|
|
|
|
|
|
## Backup location
|
|
|
|
|
|
|
|
Cluster configuration (including all live resources) is backed up to [a Google
|
2019-06-19 16:33:44 +00:00
|
|
|
Cloud Storage container][5].
|
2019-01-02 04:50:14 +00:00
|
|
|
|
|
|
|
## Persistent volumes
|
|
|
|
|
2019-06-19 16:33:44 +00:00
|
|
|
Persistent volumes are just GCE disks. Thus, with the current config, Velero
|
|
|
|
creates volume snapshots as native [GCE disk snapshots][6].
|
2019-01-02 04:50:14 +00:00
|
|
|
|
2019-06-19 16:33:44 +00:00
|
|
|
[1]: https://velero.io/docs/v1.0.0
|
|
|
|
[2]: https://github.com/heptio/velero/releases/tag/v1.0.0
|
|
|
|
[3]: https://velero.io/docs/v1.0.0/gcp-config/
|
|
|
|
[4]: https://velero.io/docs/v1.0.0/about/
|
|
|
|
[5]: https://console.cloud.google.com/storage/browser/sidamo-backups-new?project=fluted-magpie-218106&organizationId=772167872692
|
|
|
|
[6]: https://console.cloud.google.com/compute/snapshots?organizationId=772167872692&project=fluted-magpie-218106&tab=snapshots&snapshotssize=50
|