-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[kots]: allow for backup of resources in KOTS #11971
Conversation
146023d
to
f40b31d
Compare
f40b31d
to
7f8c514
Compare
5dc82d6
to
311e89d
Compare
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
21026b8
to
3dbdd28
Compare
f1d5213
to
03f891b
Compare
722b03b
to
1788313
Compare
1788313
to
7773ca8
Compare
7773ca8
to
3e4ba10
Compare
3e4ba10
to
1613e01
Compare
1613e01
to
637b634
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.
Looks good. Small change, big impact. 🚀
Description
Allows for triggering snapshots of your application in KOTS.
IMPORTANT this only backs up the KOTS application status. It does NOT backup data in your Gitpod database, registry or object storage. For production instances, we always recommend using external cloud resources - consult with your provider for advice on backing up those resources.
See docs ticket
Related Issue(s)
Fixes #9926
How to test
Creating your Velero instance
velero install
command in the docs needs to have--use-restic
appended to it, ieCreate a backup
Either:
kubectl kots backup -n gitpod
Restoring a Backup
gitpod
orvelero
namespace on your cluster (this simulates a fresh cluster)velero install
command abovekubectl kots backup ls
and select the backup ID you wantkubectl kots restore --from-backup <backup-id>
kubectl kots admin-console -n gitpod
After a few minutes, you should have everything restored.
Release Notes
Documentation
Werft options: