This repository was archived by the owner on Mar 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 735
backup-operator: Support periodically backup (#1841) #2028
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d9a739d
backup-operator: Add BackupIntervalInSecond
ukinau 23314d9
backup: Add validation of BackupIntervalInSecond
ukinau 3babc48
backup: Add LastSuccessDate
ukinau e10633f
backup: Add MaxBackups in BackupPolicy
ukinau d36d888
backup: Use path without adding info if one-shot
ukinau 31c5f4b
backup: Reset reason if backup succeeded
ukinau 2dc177c
backup: Update the codegen files
ukinau fce86f1
backup: fix typo
ukinau d519aa7
backup: Refactoring
ukinau d1ae2c4
backup: Use meta/v1.Time instead of time.Time
ukinau 7409717
backup: minor fixes (naming, extra space)
ukinau 8737c73
backup: Add periodically backup example
ukinau e7dfe4b
backup: add e2e slow test for periodic backup
ukinau 1cdb3aa
Update generated k8s code license for new year(2019)
ukinau ab9b78e
backup: Minor fix "composite literal uses unkeyed"
ukinau bb3b72c
backup: Update CHANGELOG.md for periodic support
ukinau e084e9b
backup: Move periodbackup test after restore test
ukinau aee3c8d
backup: Fixed the bug to get operator in infinite-loop
ukinau 70aa25f
backup: Only Retry in the case of transient error
ukinau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| apiVersion: "etcd.database.coreos.com/v1beta2" | ||
| kind: "EtcdBackup" | ||
| metadata: | ||
| name: example-etcd-cluster-periodic-backup | ||
| spec: | ||
| etcdEndpoints: [<etcd-cluster-endpoints>] | ||
| storageType: S3 | ||
| backupPolicy: | ||
| # 0 > enable periodic backup | ||
| backupIntervalInSecond: 125 | ||
| maxBackups: 4 | ||
| s3: | ||
| # The format of "path" must be: "<s3-bucket-name>/<path-to-backup-file>" | ||
| # e.g: "mybucket/etcd.backup" | ||
| path: <full-s3-path> | ||
| awsSecret: <aws-secret> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.