Merge pull request #113 from julia-stripe/faq

Add a FAQ
This commit is contained in:
Andy Goldstein
2017-10-10 10:53:40 -04:00
committed by GitHub
2 changed files with 23 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
* [Build from scratch][0]
* [Cloud provider specifics][9]
* [Debugging restores][4]
* [FAQ][10]
## Reference
* [CLI reference][2]
@@ -27,3 +28,4 @@
[7]: use-cases.md#disaster-recovery
[8]: use-cases.md#cluster-migration
[9]: cloud-provider-specifics.md
[10]: faq.md

21
docs/faq.md Normal file
View File

@@ -0,0 +1,21 @@
# FAQ
## When is it appropriate to use Ark instead of etcd's built in backup/restore?
Etcd's restore tooling is good for recovering from data loss in a single etcd cluster, but does not
support more sophisticated restores. If you only want to recover from data loss in a single etcd
cluster, you're likely better off using etcd's backup/restore tooling.
Examples of cases where Ark is useful:
* backing up both Kubernetes resources and persistent volume state
* cluster migrations
* backing up a subset of your Kubernetes resources
* backing up Kubernetes resources that are stored across multiple etcd clusters (for example if you
run a custom apiserver)
## Will Ark restore my Kubernetes resources exactly the way they were before?
Yes, with some exceptions. For example, when Ark restores pods it deletes the `nodeName` from the
pod so that it can be scheduled onto a new node. You can see some more examples of the differences
in [pod_restorer.go](https://github.com/heptio/ark/blob/master/pkg/restore/restorers/pod_restorer.go)