mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-08-15 19:56:06 +00:00
Add some description of update existing policy to state it works in a best-effort way. (#6856)
Signed-off-by: Xun Jiang <jxun@vmware.com>
This commit is contained in:
@@ -269,7 +269,9 @@ are `none` (default) and `update`. If you choose to update existing resources du
|
||||
|
||||
You can also configure the existing resource policy in a [Restore](api-types/restore.md) object.
|
||||
|
||||
**NOTE:** Update of a resource only applies to the Kubernetes resource data such as its spec. It may not work as expected for certain resource types such as PVCs and Pods. In case of PVCs for example, data in the PV is not restored or overwritten in any way.
|
||||
**NOTE:**
|
||||
* Update of a resource only applies to the Kubernetes resource data such as its spec. It may not work as expected for certain resource types such as PVCs and Pods. In case of PVCs for example, data in the PV is not restored or overwritten in any way.
|
||||
* `update` existing resource policy works in a best-effort way, which means when restore's `--existing-resource-policy` is set to `update`, Velero will try to update the resource if the resource already exists, if the update fails, Velero will fall back to the default non-destructive way in the restore, and just logs a warning without failing the restore.
|
||||
|
||||
## Removing a Restore object
|
||||
|
||||
|
||||
@@ -224,6 +224,10 @@ You can change this policy for a restore by using the `--existing-resource-polic
|
||||
|
||||
You can also configure the existing resource policy in a [Restore](api-types/restore.md) object.
|
||||
|
||||
**NOTE:**
|
||||
* Update of a resource only applies to the Kubernetes resource data such as its spec. It may not work as expected for certain resource types such as PVCs and Pods. In case of PVCs for example, data in the PV is not restored or overwritten in any way.
|
||||
* `update` existing resource policy works in a best-effort way, which means when restore's `--existing-resource-policy` is set to `update`, Velero will try to update the resource if the resource already exists, if the update fails, Velero will fall back to the default non-destructive way in the restore, and just logs a warning without failing the restore.
|
||||
|
||||
## Removing a Restore object
|
||||
|
||||
There are two ways to delete a Restore object:
|
||||
|
||||
@@ -267,7 +267,9 @@ You can change this policy for a restore by using the `--existing-resource-polic
|
||||
|
||||
You can also configure the existing resource policy in a [Restore](api-types/restore.md) object.
|
||||
|
||||
**NOTE:** Update of a resource only applies to the Kubernetes resource data such as its spec. It may not work as expected for certain resource types such as PVCs and Pods. In case of PVCs for example, data in the PV is not restored or overwritten in any way.
|
||||
**NOTE:**
|
||||
* Update of a resource only applies to the Kubernetes resource data such as its spec. It may not work as expected for certain resource types such as PVCs and Pods. In case of PVCs for example, data in the PV is not restored or overwritten in any way.
|
||||
* `update` existing resource policy works in a best-effort way, which means when restore's `--existing-resource-policy` is set to `update`, Velero will try to update the resource if the resource already exists, if the update fails, Velero will fall back to the default non-destructive way in the restore, and just logs a warning without failing the restore.
|
||||
|
||||
## Removing a Restore object
|
||||
|
||||
|
||||
@@ -269,7 +269,9 @@ are `none` (default) and `update`. If you choose to update existing resources du
|
||||
|
||||
You can also configure the existing resource policy in a [Restore](api-types/restore.md) object.
|
||||
|
||||
**NOTE:** Update of a resource only applies to the Kubernetes resource data such as its spec. It may not work as expected for certain resource types such as PVCs and Pods. In case of PVCs for example, data in the PV is not restored or overwritten in any way.
|
||||
**NOTE:**
|
||||
* Update of a resource only applies to the Kubernetes resource data such as its spec. It may not work as expected for certain resource types such as PVCs and Pods. In case of PVCs for example, data in the PV is not restored or overwritten in any way.
|
||||
* `update` existing resource policy works in a best-effort way, which means when restore's `--existing-resource-policy` is set to `update`, Velero will try to update the resource if the resource already exists, if the update fails, Velero will fall back to the default non-destructive way in the restore, and just logs a warning without failing the restore.
|
||||
|
||||
## Removing a Restore object
|
||||
|
||||
|
||||
@@ -224,6 +224,10 @@ You can change this policy for a restore by using the `--existing-resource-polic
|
||||
|
||||
You can also configure the existing resource policy in a [Restore](api-types/restore.md) object.
|
||||
|
||||
**NOTE:**
|
||||
* Update of a resource only applies to the Kubernetes resource data such as its spec. It may not work as expected for certain resource types such as PVCs and Pods. In case of PVCs for example, data in the PV is not restored or overwritten in any way.
|
||||
* `update` existing resource policy works in a best-effort way, which means when restore's `--existing-resource-policy` is set to `update`, Velero will try to update the resource if the resource already exists, if the update fails, Velero will fall back to the default non-destructive way in the restore, and just logs a warning without failing the restore.
|
||||
|
||||
## Removing a Restore object
|
||||
|
||||
There are two ways to delete a Restore object:
|
||||
|
||||
Reference in New Issue
Block a user