Skip to content
This repository was archived by the owner on Aug 25, 2021. It is now read-only.

feat: snapshot to persistentVolume and s3 bucket #345

Closed
wants to merge 1 commit into from

Conversation

tomwganem
Copy link
Contributor

@tomwganem tomwganem commented Jan 31, 2020

This PR adds a cronjob that creates a snapshot using the consul http api. The snapshot can be saved to a pvc, or uploaded to an s3 bucket.

Tested with global.bootstrapACLs=true and global.tls.enabled=true. Since snapshotting requires a management acl token, I decided to use the bootstrap token that is generated.

Unit tests have been provided

Closes #344
Closes #257

@adilyse
Copy link
Contributor

adilyse commented Apr 2, 2020

Thank you for the time and attention evident in this PR, but per #344 (comment), this functionality is not currently something we can support in OSS.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for snapshot cronjob Backing and Restoring Consul Snapshot on S3 from Kubernetes
2 participants