jetstack / tarmak

A toolkit for Kubernetes cluster provisioning and lifecycle management
Apache License 2.0
269 stars 49 forks source link

Backup strategy for state in etcd #167

Closed jetstack-bot closed 6 years ago

jetstack-bot commented 6 years ago

Is this a BUG REPORT or FEATURE REQUEST?:

/kind feature

What happened:

We should backup etcd like we do for consul. (@jetstackers we have had this WIP PR https://gitlab.jetstack.net/tarmak/tarmak/issues/50)

What you expected to happen:

Backups of etcd state in the form of snapshots and manifests. Snapshots are for a full recovery of the state, but we also should be able to restore single kubernetes resources

charlieegan3 commented 6 years ago

At the moment we seem to have reference in cli design doc to a debug etcdctl command: https://github.com/jetstack/tarmak/blob/master/docs/design_cli_ux.rst#etcd

There doesn't seem to be an issue open for it yet: https://github.com/jetstack/tarmak/blob/master/docs/design_cli_ux.rst#etcd

At time of writing we've had one request for this. The use case being related to backing up etcd data in a tarmak cluster.

While we're undecided about the tool for backing up etcd this might be something we could start out with.

JoshVanL commented 6 years ago

/assign