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

Update mongodb task names #709

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
4 changes: 2 additions & 2 deletions docs/guides/mongodb/backup/kubestash/auto-backup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
```

Here, we define a template for `BackupConfiguration`. Notice the `backends` and `sessions` fields of `backupConfigurationTemplate` section. We have used some variables in form of `${VARIABLE_NAME}`. KubeStash will automatically resolve those variables from the database annotations information to make `BackupConfiguration` according to that databases need.
Expand Down Expand Up @@ -269,7 +269,7 @@ spec:
- addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
failurePolicy: Fail
name: frequent
repositories:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
params:
args: "--db=testdb"
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
containerRuntimeSettings:
resources:
requests:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
jobTemplate:
spec:
securityContext:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestoress
- name: logical-backup-restore
jobTemplate:
spec:
securityContext:
Expand Down
14 changes: 7 additions & 7 deletions docs/guides/mongodb/backup/kubestash/customization/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
params:
args: "--db=testdb"
```
Expand Down Expand Up @@ -108,7 +108,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
jobTemplate:
spec:
securityContext:
Expand Down Expand Up @@ -156,7 +156,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
containerRuntimeSettings:
resources:
requests:
Expand Down Expand Up @@ -196,7 +196,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestoress
- name: logical-backup-restore
params:
args: "--db=testdb"
```
Expand Down Expand Up @@ -235,7 +235,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestoress
- name: logical-backup-restore
```

>Please, do not specify multiple snapshots here. Each snapshot represents a complete backup of your database. Multiple snapshots are only usable during file/directory restore.
Expand Down Expand Up @@ -265,7 +265,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestoress
- name: logical-backup-restore
jobTemplate:
spec:
securityContext:
Expand Down Expand Up @@ -298,7 +298,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestoress
- name: logical-backup-restore
containerRuntimeSettings:
resources:
requests:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestore
- name: logical-backup-restore
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
```

Here,
Expand Down Expand Up @@ -508,7 +508,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestore
- name: logical-backup-restore
```

Here,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestore
- name: logical-backup-restore
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
```

Here,
Expand Down Expand Up @@ -523,7 +523,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestore
- name: logical-backup-restore
```

Here,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestore
- name: logical-backup-restore
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackup
- name: logical-backup
```

Here,
Expand Down Expand Up @@ -501,7 +501,7 @@ spec:
addon:
name: mongodb-addon
tasks:
- name: LogicalBackupRestore
- name: logical-backup-restore
```

Here,
Expand Down
Loading