-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Anisur Rahman <[email protected]>
- Loading branch information
1 parent
e062917
commit fe289c3
Showing
35 changed files
with
1,182 additions
and
1,246 deletions.
There are no files selected for viewing
58 changes: 37 additions & 21 deletions
58
docs/addons/kubedump/application/examples/backupconfiguration.yaml
This file contains 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 |
---|---|---|
@@ -1,27 +1,43 @@ | ||
apiVersion: stash.appscode.com/v1beta1 | ||
apiVersion: core.kubestash.com/v1alpha1 | ||
kind: BackupConfiguration | ||
metadata: | ||
name: application-manifest-backup | ||
namespace: demo | ||
spec: | ||
schedule: "*/5 * * * *" | ||
task: | ||
name: kubedump-backup-0.1.0 | ||
params: | ||
- name: includeDependants | ||
value: "true" | ||
repository: | ||
name: application-resource-storage | ||
target: | ||
ref: | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
name: stash-stash-enterprise | ||
namespace: kube-system | ||
runtimeSettings: | ||
pod: | ||
serviceAccountName: cluster-resource-reader | ||
retentionPolicy: | ||
name: keep-last-5 | ||
keepLast: 5 | ||
prune: true | ||
apiGroup: apps | ||
kind: Deployment | ||
name: kubestash-kubestash-operator | ||
namespace: kubestash | ||
backends: | ||
- name: gcs-backend | ||
storageRef: | ||
namespace: demo | ||
name: gcs-storage | ||
retentionPolicy: | ||
name: demo-retention | ||
namespace: demo | ||
sessions: | ||
- name: frequent-backup | ||
sessionHistoryLimit: 3 | ||
scheduler: | ||
schedule: "*/5 * * * *" | ||
jobTemplate: | ||
backoffLimit: 1 | ||
repositories: | ||
- name: gcs-repository | ||
backend: gcs-backend | ||
directory: /deployment-manifests | ||
encryptionSecret: | ||
name: encryption-secret | ||
namespace: demo | ||
deletionPolicy: WipeOut | ||
addon: | ||
name: kubedump-addon | ||
tasks: | ||
- name: manifest-backup | ||
params: | ||
includeDependants: "true" | ||
jobTemplate: | ||
spec: | ||
serviceAccountName: cluster-resource-reader |
This file contains 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 was deleted.
Oops, something went wrong.
Binary file modified
BIN
+39 KB
(150%)
docs/addons/kubedump/application/images/application_manifest_backup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.