Skip to content

Commit 42bca0e

Browse files
fix typos
Signed-off-by: Shubham Pampattiwar <[email protected]>
1 parent c868708 commit 42bca0e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

design/existing-resource-policy_design.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Related issue: https://github.com/vmware-tanzu/velero/issues/4066
2727
### Use-cases/Scenarios
2828

2929
### A. Production Cluster - Backup Cluster:
30-
Let's say you have a Backup Cluster which is identical to the Production Cluster. After some operations/usage/time the Production Cluster had changed itself, there might be new deployments, some secrets might have been updated. Now, this means that the Backup cluster will no longer be identical to the Production Cluster. In order to keep the Backup Cluster upto date/identical to the Production Cluster with respect to Kubernetes resources except PV data we would like to use Velero for scheduling new backups which would in turn help us update the Backup Cluster via Velero restore.
30+
Let's say you have a Backup Cluster which is identical to the Production Cluster. After some operations/usage/time the Production Cluster had changed itself, there might be new deployments, some secrets might have been updated. Now, this means that the Backup cluster will no longer be identical to the Production Cluster. In order to keep the Backup Cluster up to date/identical to the Production Cluster with respect to Kubernetes resources except PV data we would like to use Velero for scheduling new backups which would in turn help us update the Backup Cluster via Velero restore.
3131

3232
Reference: https://github.com/vmware-tanzu/velero/issues/4066#issuecomment-954320686
3333

@@ -50,16 +50,16 @@ In this approach we do *not* change existing velero behavior. If the resource to
5050
skip restoration.
5151
2. `update` or `merge` or `patch`: In this behaviour Velero will try an attempt to patch the resource with the backed up version,
5252
if the patch fails log it as a warning and continue the restore process, user may wish specify the merge type.
53-
3. `updateAll`: Similar to `update` option but Velero will update annotation on unchanged resources too.
53+
3. `updateAll`: Similar to `update` option but Velero will update labels on unchanged resources too.
5454
4. `recreate`: If resource already exists, then Velero will delete it and recreate the resource.
5555

5656
In summary,
5757

58-
| Policy | Action performed by Velero | Velero Logging |
59-
|-------------|---------------------------------------------------------------------------------------------|---------------------------------------------------------------|
60-
| `none` | Existing Velero behavior. | `info` log for unchanged resource, `warn` on changed resource |
61-
| `update` | Velero tries to attempt a `patch` on changed resource | `info` log for unchanged, `warn` if patch failed |
62-
| `updateAll` | Velero updates annotation on unchanged resource and attempts a `patch` on changed resource | `info` log for unchanged and `warn` if patch failed |
58+
| Policy | Action performed by Velero | Velero Logging |
59+
|-------------|-----------------------------------------------------------------------------------------|---------------------------------------------------------------|
60+
| `none` | Existing Velero behavior. | `info` log for unchanged resource, `warn` on changed resource |
61+
| `update` | Velero tries to attempt a `patch` on changed resource | `info` log for unchanged, `warn` if patch failed |
62+
| `updateAll` | Velero updates labels on unchanged resource and attempts a `patch` on changed resource | `info` log for unchanged and `warn` if patch failed |
6363

6464
*Note:* The `recreate` option is a non-goal for this enhancement proposal, but it is considered as a future scope.
6565
Another thing to highlight is that Velero will not be deleting any resources in any of the policy options proposed in

0 commit comments

Comments
 (0)