lyndon-li and GitHub
518b55da25
Merge pull request #9942 from Lyndon-Li/clone-pv-after-deletion
...
Clone PV after deleting retained PV
2026-06-25 15:10:49 +08:00
lyndon-li and GitHub
cfd4914123
decide restorePVC volumeMode by data mover type ( #9941 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-06-25 11:06:53 +08:00
Lyndon-Li
2c5dcb8474
clone PV after deleting retained PV
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-06-24 18:27:57 +08:00
Lyndon-Li
eb0aa625ce
use restorePV to cover retained and non-retained case
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-06-22 17:33:17 +08:00
Lyndon-Li
20a0def15d
add wait restorePV detach to same mode route
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-06-22 17:23:24 +08:00
Lyndon-Li
77520d0522
recall the way to rebind volume with restorePV
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-06-22 17:21:36 +08:00
Lyndon-Li
a8cf6646e1
wait PV detachment before deleting PV
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-06-22 16:22:33 +08:00
Lyndon-Li
b68aa15344
wait PV detachment before deleting PV
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-06-22 16:21:51 +08:00
lyndon-li and GitHub
55eb5f2820
Clone pv on rebind ( #9913 )
...
* clone pv on rebind
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
* update fsType to cloned PV
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
* clone pv on rebind
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
* clone pv on rebind
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
---------
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-06-16 17:47:21 +08:00
Xun Jiang/Bruce Jiang and GitHub
02cb85ce90
Merge pull request #9890 from blackpiglet/jxun/main/bump_deps
...
[main] Bump some dependancies to fix CVEs and replace some inactive maintained packages.
2026-06-11 10:08:22 +08:00
Xun Jiang
49b670a791
Replace github.com/pkg/errors by github.com/cockroachdb/errors
...
Change errors.Cause to errors.Is, because github.com/cockroachdb/errors
New() function create a error with error stack with depth 1, but
github.com/pkg/errors's New() function create error with no depth.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-06-10 15:55:57 +08:00
Xun Jiang
e395b6ea6b
Replace github.com/robfig/cron/v3 by github.com/netresearch/go-cron
...
Replace k8s.io/utils/pointer with k8s.io/utils/ptr
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2026-06-10 15:54:17 +08:00
Lyndon-Li
0a94fbbfc5
enhance RebindVolume method for generic restore exposer
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-06-09 18:08:59 +08:00
Lyndon-Li
2e1ab5ab62
Merge branch 'main' into block-data-mover-backup-expose
2026-06-02 16:56:40 +08:00
Lyndon-Li
74ffe25cbe
add cbt service parameters to node-agent-config
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-06-01 14:43:43 +08:00
Lyndon-Li
e4ecf26b33
add backup exposer for block data mover
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-29 11:44:25 +08:00
Lyndon-Li
cdf3b9ffaa
add backup exposer for block data mover
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-05-28 16:13:09 +08:00
Lyndon-Li
f0d81c56e2
Merge branch 'main' into selected-node-to-node-selector
2026-02-26 13:30:47 +08:00
Lyndon-Li
7235180de4
Merge branch 'main' into support-customized-host-os
2026-02-24 15:40:56 +08:00
Lyndon-Li
05c9a8d8f8
issue 9343: include PV topology to data mover pod affinitiesq
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-02-13 11:22:32 +08:00
Lyndon-Li
41fa774844
support custom os
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-02-10 13:35:07 +08:00
Lyndon-Li
ece04e6e39
Merge branch 'main' into issue-fix-9343
2026-02-09 18:34:14 +08:00
Lyndon-Li
18c32ed29c
support customized host os
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-01-27 15:23:25 +08:00
Lyndon-Li
598c8c528b
support customized host os - use affinity for host os selection
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-01-27 14:49:55 +08:00
Lyndon-Li
8f9beb04f0
support customized host os
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-01-27 14:37:38 +08:00
Lyndon-Li
bb518e6d89
replace nodeName with node selector
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-01-26 13:58:29 +08:00
Lyndon-Li
e3b501d0d9
issue 9343: include PV topology to data mover pod affinities
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-01-23 15:45:43 +08:00
Lyndon-Li
e703e06eeb
diagnose expose on peek error
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2026-01-13 16:33:14 +08:00
Lubron Zhan
0d80995e62
Update the logging to print correct affinity field
...
Signed-off-by: Lubron Zhan <lubronzhan@gmail.com >
2026-01-01 11:37:21 -08:00
Lubron Zhan
04364ef2ca
Update the logging to print correct affinity field
...
Signed-off-by: Lubron Zhan <lubronzhan@gmail.com >
2025-12-30 11:00:49 -08:00
Xun Jiang
e39374f335
Add maintenance job and data mover pod's labels and annotations setting.
...
Add wait in file_system_test's async test cases.
Add related documents.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-12-17 13:21:07 +08:00
Lyndon-Li
b1e5e4408f
exposer supports cache volume
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-10-28 14:43:51 +08:00
Lyndon-Li
8d29051bbe
expose supports cache volume
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-10-22 19:11:56 +08:00
lyndon-li and GitHub
e6aab8ca93
add events to diagnose ( #9296 )
...
Run the E2E test on kind / get-go-version (push) Failing after 1m10s
Run the E2E test on kind / build (push) Has been skipped
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / get-go-version (push) Failing after 16s
Main CI / Build (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 11s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m43s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m5s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m2s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m2s
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-10-09 14:13:43 -04:00
Scott Seago
4ade8cf8a2
Add option for privileged fs-backup pod
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2025-09-25 15:38:39 -04:00
Lyndon-Li
25a7ef0e87
backupPVC to different node
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-09-12 13:27:58 +08:00
Lyndon-Li
81c5b6692d
backupPVC to different node
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-09-11 13:04:24 +08:00
Clément Nussbaumer
c5b70b4a0d
test: fix backuppvc annotations test case
...
Signed-off-by: Clément Nussbaumer <clement.nussbaumer@postfinance.ch >
2025-08-29 10:10:41 +02:00
Clément Nussbaumer
248a840918
feat: Permit specifying annotations for the BackupPVC
...
Signed-off-by: Clément Nussbaumer <clement.nussbaumer@postfinance.ch >
2025-08-29 10:10:41 +02:00
Xun Jiang
c62a486765
Add ConfigMap parameters validation for install CLI and server start.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-08-22 20:31:38 +08:00
Lyndon-Li
1e800906c2
issue 9140: add NoExecute toleration for Windows
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-08-07 16:43:07 +08:00
Tiger Kaovilai and Claude
35d2cc0890
Add priority class support for Velero server and node-agent
...
- Add --server-priority-class-name and --node-agent-priority-class-name flags to velero install command
- Configure data mover pods (PVB/PVR/DataUpload/DataDownload) to use priority class from node-agent-configmap
- Configure maintenance jobs to use priority class from repo-maintenance-job-configmap (global config only)
- Add priority class validation with ValidatePriorityClass and GetDataMoverPriorityClassName utilities
- Update e2e tests to include PriorityClass testing utilities
- Move priority class design document to Implemented folder
- Add comprehensive unit tests for all priority class implementations
- Update documentation for priority class configuration
- Add changelog entry for #8883
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
remove unused test utils
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
feat: add unit test for getting priority class name in maintenance jobs
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
doc update
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
feat: add priority class validation for repository maintenance jobs
- Add ValidatePriorityClassWithClient function to validate priority class existence
- Integrate validation in maintenance.go when creating maintenance jobs
- Update tests to cover the new validation functionality
- Return boolean from ValidatePriorityClass to allow fallback behavior
This ensures maintenance jobs don't fail due to non-existent priority classes,
following the same pattern used for data mover pods.
Addresses feedback from:
https://github.com/vmware-tanzu/velero/pull/8883#discussion_r2238681442
Refs #8869
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
refactor: clean up priority class handling for data mover pods
- Fix comment in node_agent.go to clarify PriorityClassName is only for data mover pods
- Simplify server.go to use dataPathConfigs.PriorityClassName directly
- Remove redundant priority class logging from controllers as it's already logged during server startup
- Keep logging centralized in the node-agent server initialization
This reduces code duplication and clarifies the scope of priority class configuration.
🤖 Generated with [Claude Code](https://claude.ai/code )
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
refactor: remove GetDataMoverPriorityClassName from kube utilities
Remove GetDataMoverPriorityClassName function and its tests as priority
class is now read directly from dataPathConfigs instead of parsing from
ConfigMap. This simplifies the codebase by eliminating the need for
indirect ConfigMap parsing.
Refs #8869
🤖 Generated with [Claude Code](https://claude.ai/code )
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
refactor: remove priority class validation from install command
Remove priority class validation during install as it's redundant
since validation already occurs during server startup. Users cannot
see console logs during install, making the validation warnings
ineffective at this stage.
The validation remains in place during server and node-agent startup
where it's more appropriate and visible to users.
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Co-Authored-By: Claude <noreply@anthropic.com >
2025-08-06 01:36:22 -04:00
Xun Jiang/Bruce Jiang and GitHub
9cb421c26f
Fix the dd and du's node affinity issue. ( #9130 )
...
Run the E2E test on kind / build (push) Failing after 12m11s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 27s
Close stale issues and PRs / stale (push) Successful in 12s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m22s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m3s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m0s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m6s
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-08-04 16:21:35 -04:00
Xun Jiang and Xun Jiang/Bruce Jiang
7b872473df
Use const to represent snapshot.storage.kubernetes.io/managed-by.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-07-30 08:06:22 +08:00
Felix Prasse and Xun Jiang/Bruce Jiang
8678ea28ee
Keep manager label for VSC
...
If distributed snapshotting is enabled in the external snapshotter a manager label is added to the volume snapshot content. When exposing the snapshot velero needs to keep this label around otherwise the exposed snapshot will never become ready.
Signed-off-by: Felix Prasse <1330854+flx5@users.noreply.github.com >
2025-07-30 08:06:22 +08:00
Xun Jiang/Bruce Jiang and GitHub
770ff142d7
Add imagePullSecrets inheritage for VGDP pod and maintenance job. ( #9096 )
...
Run the E2E test on kind / build (push) Failing after 8m21s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 42s
Close stale issues and PRs / stale (push) Successful in 21s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m49s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m17s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 3m30s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 3m12s
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-07-23 13:55:16 -04:00
Lyndon-Li
34f8b73507
bump up kopia to v0.21.1
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-07-22 15:56:04 +08:00
Shubham Pampattiwar
a73a150d98
Accommodate VGS workflows in PVC CSI plugin
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
Add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
make update
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
lint fix
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add unit tests for getVSForPVC func
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
Use v1beta1 instead of v1 v1alpha1
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
go mod tidy
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
update updateVGSCreatedVS func to use retry on conflict
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
make update minor fix
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix ut assert
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
Address PR feedback
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
minor updates
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
remove unsused func and add todo for dep upgrades
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2025-07-21 11:36:40 -07:00
lyndon-li and GitHub
06d305ea47
Issue 8344: constrain data path expose ( #9064 )
...
Run the E2E test on kind / build (push) Failing after 7m38s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 39s
Close stale issues and PRs / stale (push) Successful in 22s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m32s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m41s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m30s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m18s
* issue 8344: constrain data path exposure.
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-07-18 13:32:45 +08:00
Lyndon-Li
a752b54614
issue 8857: support third party tolerations
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-07-08 14:23:00 +08:00