Merge pull request #7949 from Lyndon-Li/release-1.14

[1.14] Issue 7903: and limitation clarification for change PVC selected-node feature
This commit is contained in:
Xun Jiang/Bruce Jiang
2024-07-01 09:54:36 +08:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

@@ -0,0 +1 @@
Fix issue #7904, add the limitation clarification for change PVC selected-node feature

View File

@@ -241,6 +241,8 @@ data:
<old-node-name>: <new-node-name>
```
Note: This feature doesn't work for PVCs with ```WaitForFirstConsumer``` as the ```volumeBindingMode```. These kind of PVCs won't be bound until the pod is scheduled and the scheduler will overwrite the selected-node annotation to the node where the pod is scheduled to.
## Restoring into a different namespace
Velero can restore resources into a different namespace than the one they were backed up from. To do this, use the `--namespace-mappings` flag: