-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
K0s backup #835
K0s backup #835
Conversation
8d3200f
to
91e6155
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor changes requested. Overall pretty good stuff 🙌
Overall this is good stuff. The only thing on "high-level" I'm bit disliking (and having done some of the work myself, I'm partially to blame too 😄 ) is the fact that we now have to do lot of file/dir copying during the backup and restore. I think it would make sense, at least to try, to rather do "in-place" operations for the various files. Currently this basically means double disk usage for a while for the backup. Might be problematic in resource constrained environments. The above can be refactored, if it's even doable, in a separate PR though. |
7e29a60
to
dcd9206
Compare
Separate issue to track the kine/sqlite backup capability at #863 |
09a1cf6
to
3e0e64e
Compare
Signed-off-by: Karen Almog <kalmog@mirantis.com>
Signed-off-by: Karen Almog <kalmog@mirantis.com>
…lated issues Added restore command and smoke test Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
Signed-off-by: Mikhail Sakhnov <msakhnov@mirantis.com>
Signed-off-by: Mikhail Sakhnov <msakhnov@mirantis.com>
…and deployments after restore Signed-off-by: Mikhail Sakhnov <msakhnov@mirantis.com>
… backup-restore process Signed-off-by: Mikhail Sakhnov <msakhnov@mirantis.com>
Signed-off-by: Mikhail Sakhnov <msakhnov@mirantis.com>
Co-authored-by: Jussi Nummelin <jnummelin@users.noreply.github.com> Signed-off-by: Mikhail Sakhnov <msakhnov@mirantis.com>
… link to mkdocs.yml Signed-off-by: Mikhail Sakhnov <msakhnov@mirantis.com>
3e0e64e
to
62b40e9
Compare
Issue
Fixes #204
What this PR Includes
This PR adds a
k0s backup
command that:Task List:
golang:1.15-alpine
image to support cross-compliation of go-sqlite3 (see: Cross compiling fails mattn/go-sqlite3#384)