You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: design/existing-resource-policy_design.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Related issue: https://github.com/vmware-tanzu/velero/issues/4066
27
27
### Use-cases/Scenarios
28
28
29
29
### 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.
|`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 |
|`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 |
63
63
64
64
*Note:* The `recreate` option is a non-goal for this enhancement proposal, but it is considered as a future scope.
65
65
Another thing to highlight is that Velero will not be deleting any resources in any of the policy options proposed in
0 commit comments