This image can be used to backup ETCD (copies are stored on all masters) and then uploaded to an object storage of your choice (S3 only at the moment).
- Create a backup project.
- Create CronJob that runs as often as you want to backup ETCD.
- Add SCC to user to allow privileged access.
- Enjoy.
If you're using AWS S3 for storage you need to add the following environment variables to the CronJob pod:
S3_BUCKET
AWS_SECRET_ACCESS_KEY
AWS_ACCESS_KEY_ID
AWS_DEFAULT_REGION
- Support GCP Cloud Storage
- Support on-prem object storage
- Remove old backups
If you want to add to this project or find a bug, please open an issue or even a PR. All contributions are welcome (but may be discussed).