Skip to content
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

Allow to restore cluster state from backup at apply #149

Merged
merged 2 commits into from
Jun 11, 2021

Conversation

jnummelin
Copy link
Contributor

@jnummelin jnummelin commented Jun 8, 2021

Signed-off-by: Jussi Nummelin jnummelin@mirantis.com

TODO

  • add some docs

Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
@jnummelin jnummelin requested review from jasmingacic and kke June 9, 2021 10:11
Copy link
Contributor

@jasmingacic jasmingacic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

legit

@jnummelin
Copy link
Contributor Author

@kke wanna have a look too? :)

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@kke kke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff, minor typo in docs.

Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
@jnummelin jnummelin merged commit 10700ae into k0sproject:main Jun 11, 2021
@jnummelin jnummelin deleted the restore-in-apply branch June 11, 2021 07:21
@kke kke mentioned this pull request Jun 16, 2021
OmegaSquad82 added a commit to OmegaSquad82/concourse-k0sctl that referenced this pull request Jun 6, 2022
…om/k0sproject/k0sctl/blob/main/README.md#k0sctl-backup--restore

and the initial PR's contents indicate that it skips restore when it encounters an already running k0s installation. k0sproject/k0sctl#149
OmegaSquad82 added a commit to OmegaSquad82/concourse-k0sctl that referenced this pull request Jun 6, 2022
#8)

* As stated in the documentation restore's 4 desasters https://github.com/k0sproject/k0sctl/blob/main/README.md#k0sctl-backup--restore
and the initial PR's contents indicate that it skips restore when it encounters an already running k0s installation. k0sproject/k0sctl#149

* Use latest variable to obtain the backup archive

* Installed an EXIT trap to save k0sctl's logfile

* allow reset in case when the pipeline never ran

* Remove the simplest of git functions

* Serialize Jobs calling k0sctl against each other

* Fix logical error where it checked the target...

* Exposed K0SCTL_LOG_PATH as it's default log path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants