Wenkai Yin(尹文开)
4c95edd8ba
Support certificate-based authentication for Azure
...
Support certificate-based authentication for Azure
Fixes #6735
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2024-03-21 15:59:37 +08:00
Xun Jiang
efb94ae610
Refactor the native snapshot definition code.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com>
2024-03-20 15:38:07 +08:00
Xun Jiang/Bruce Jiang
67c06e613a
Merge pull request #7504 from allenxu404/pv-patch-in-finalizing-phase
...
Patch newly dynamically provisioned PV with volume info to restore PV's custom setting
2024-03-20 09:56:03 +08:00
Ming Qiu
64a3f2aa3a
Make parallel restore configurable
...
Signed-off-by: Ming Qiu <mqiu@vmware.com>
2024-03-19 15:15:47 +08:00
allenxu404
67b5e82d49
Patch newly dynamically provisioned PV with volume info to restore custom setting of PV
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2024-03-18 17:32:35 +08:00
Lyndon-Li
dccde10368
issue-7036: make affinity as list and take 1st one
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2024-03-18 11:25:27 +08:00
zhouhao
7ce35ece4a
Issue 7529: fix gvr `Group` and `Version` field missing in `KindFor` method
...
Signed-off-by: zhouhao <zhouhao@cmss.chinamobile.com>
2024-03-15 10:07:03 +08:00
lyndon-li
6c0cb4bf89
Merge pull request #7521 from qiuming-best/data-mover-empty-dir
...
Fix DataDownload fails during restore for empty PVC workload
2024-03-14 16:07:43 +08:00
Ming Qiu
74ffa50bb4
Fix DataDownload fails during restore for empty PVC workload
...
Signed-off-by: Ming Qiu <mqiu@vmware.com>
2024-03-14 07:22:59 +00:00
lou
00b9869369
do not ignore unknown gvr at the beginning and get new gr when kind is changed
...
Signed-off-by: lou <alex1988@outlook.com>
2024-03-14 15:21:00 +08:00
Xun Jiang
4d01c7ffa3
Check whether the VolumeSnapshot's source PVC is nil before using it.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com>
2024-03-13 11:21:48 +08:00
Wenkai Yin(尹文开)
79e9e31d8d
Merge pull request #7489 from ywk253100/240229_lib
...
Bump up the versions of several Kubernetes-related libs
2024-03-12 16:12:56 +08:00
Wenkai Yin(尹文开)
84c1eca66c
Merge pull request #7497 from qiuming-best/resource-polices-log-adjust
...
Adjust resource policies logic in BackupPodVolumes
2024-03-08 14:21:53 +08:00
Ming Qiu
6e76e03a8b
Adjust resource policies log
...
Signed-off-by: Ming Qiu <mqiu@vmware.com>
2024-03-07 05:43:28 +00:00
Wenkai Yin(尹文开)
8752c3a820
Bump up the versions of severel Kubernetes-related libs
...
Bump up the versions of severel Kubernetes-related libs
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2024-03-05 13:09:38 +08:00
lyndon-li
f274fe7bfc
Merge pull request #7488 from Lyndon-Li/issue-fix-7391
...
Issue 7391:remove the default constraint for node-agent pods
2024-03-04 13:18:17 +08:00
Lyndon-Li
d558e49288
issue 7391:remove the default constraint for node-agent pods
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2024-03-04 11:01:02 +08:00
lyndon-li
97d276caa7
Merge pull request #7452 from Lyndon-Li/issue-fix-7211
...
Issue 7211: support concatenate objects
2024-03-04 10:34:37 +08:00
Xun Jiang/Bruce Jiang
157984279b
Merge pull request #7472 from blackpiglet/7045_fix
...
Skip pvb creation when pvc excluded
2024-03-01 10:09:37 +08:00
allenxu404
2b8bb871d3
Add the finalization phase to the restore workflow
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2024-02-29 13:51:45 +08:00
qiuming
e727d29bcd
Merge pull request #7467 from blackpiglet/7464_fix
...
Modify the label used by the restore CLI to filter the PVR.
2024-02-29 10:07:36 +08:00
Shahaf Bahar
36d58943cd
Skip pvb creation when pvc excluded
...
Signed-off-by: Shahaf Bahar <sbahar@redhat.com>
2024-02-27 16:30:29 +08:00
Xun Jiang
bb4a62f3a7
Modify the label used by the restore CLI to filter the PVR.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com>
2024-02-26 10:41:51 +08:00
Lyndon-Li
e1bcdf0f63
issue 7308: change the data path requeue time to 5 second
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2024-02-22 10:10:33 +08:00
Lyndon-Li
24c4eb075f
issue 7211: support concatenate objects
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2024-02-21 17:34:04 +08:00
Wenkai Yin(尹文开)
74bf4c3d80
Merge pull request #7443 from ywk253100/240219_credential
...
Don't return error when no credential file found
2024-02-21 16:03:55 +08:00
allenxu404
84fb88c19c
Adjust the logic for the backup_last_status metrics to stop incorrectly incrementing over time
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2024-02-21 13:21:03 +08:00
Wenkai Yin(尹文开)
f6383916a2
Don't return error when no credential file found
...
Don't return error when no credential file found
Fixes #7395
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2024-02-19 17:02:30 +08:00
Lyndon-Li
57879357fc
Merge branch 'main' into batch-delete-snapshot
2024-02-18 14:54:01 +08:00
Lyndon-Li
32d92ca964
batch delete snapshot
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2024-02-18 14:49:21 +08:00
Lyndon-Li
7bf7fb9fc1
issue 7036: fail early by peek expose
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2024-02-18 14:34:35 +08:00
Xun Jiang
27348ca039
Fix the `velero repo get` nil pointer issue.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com>
2024-02-08 14:25:29 +08:00
Tiger Kaovilai
a5c72a4866
BackupRepositories associated with a BSL are invalidated when BSL is (re-)created. ( #7380 )
...
* Add BackupRepositories invalidation on BSL Create
Simplify comments
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
* Simplify
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
---------
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2024-02-06 10:13:30 -05:00
Wenkai Yin(尹文开)
9649619a6f
Put credential related config into getStorageCredentials function
...
Put credential related config into getStorageCredentials function
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2024-02-05 16:09:15 +08:00
Lyndon-Li
9a907a21f2
issue-7036:data mover load affinties
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2024-02-05 14:13:10 +08:00
Daniel Jiang
30728c248c
Respect the config in BSL when IRSA is configured
...
This commit makes sure when kopia connects to the repository the
crendentials file specified in BSL.spec.config has the higher priority over
Pod Environment credentials when IRSA is configured.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2024-02-01 16:33:10 +08:00
Xun Jiang/Bruce Jiang
08a020ebcd
Merge pull request #7370 from blackpiglet/add_uploader_config_for_schedule
...
Add `ParallelFilesUpload` for schedule creation.
2024-01-31 11:22:17 +08:00
Xun Jiang
7aaf62442a
Add `ParallelFilesUpload` for schedule creation.
...
Modify restore-helper print information.
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com>
2024-01-31 07:52:11 +08:00
qiuming
b30a679e5b
Merge pull request #7368 from qiuming-best/bsl-bug-fix
...
Fix server start failure when no default BSL
2024-01-30 16:26:45 +08:00
Ming Qiu
5fc8b3f426
Fix server start failure when no default BSL
...
Signed-off-by: Ming Qiu <mqiu@vmware.com>
2024-01-30 06:09:15 +00:00
Wenkai Yin(尹文开)
c8ad69ab04
Check whether the API resource exists before creating the informer cache
...
Check whether the API resource exists before creating the informer cache
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2024-01-24 12:41:00 +08:00
Wenkai Yin(尹文开)
673bfefd45
Log the error got from the discovery helper
...
Log the error got from the discovery helper
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2024-01-22 15:24:53 +08:00
Tiger Kaovilai
270b1de6a1
Do not attempt restore resource with no available GVK in cluster ( #7322 )
...
Check for GVK before attempting restore.
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2024-01-22 09:50:13 +08:00
Wenkai Yin(尹文开)
427a254136
Specify the Kind explicitly in the API resource
...
Specify the Kind explicitly in the API resource to avoid wrong Kind conversion
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2024-01-19 12:51:56 +08:00
Xun Jiang/Bruce Jiang
3ac48a43c2
Merge pull request #7329 from kart2/uk/spell-check
...
fix typo maintenance of log message
2024-01-18 14:25:50 +08:00
Karthick Udayakumar
198fbf6873
fix typo maintenance of log message
...
Signed-off-by: Karthick Udayakumar <kudayakumar@vmware.com>
2024-01-17 22:30:41 -05:00
Wenkai Yin(尹文开)
956248e8a6
Create informer per resources to avoid huge memory consumption
...
Create informer per resources to avoid huge memory consumption
Fixes #7323
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2024-01-18 10:47:00 +08:00
Xun Jiang/Bruce Jiang
cbe5a36a3c
Merge pull request #7254 from learner0810/reduce-backup-deepCopy
...
Returns directly when backup status is BackupPhaseFailedValidation No need for DeepCopy
2024-01-17 21:41:24 +08:00
Xun Jiang/Bruce Jiang
f66aa9f3b3
Merge pull request #7284 from learner0810/fix-item-operation-timeout-explain
...
Update itemOperationTimeout Default Timeout Note
2024-01-17 14:58:15 +08:00
Wenkai Yin(尹文开)
d676bfde22
Increase the k8s client QPS/burst
...
Increase the k8s client QPS/burst to avoid throttling request errors
Fixes #7127
Fixes #3191
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2024-01-12 15:02:05 +08:00
Wenkai Yin(尹文开)
e498ea99a3
Merge pull request #7295 from josemarevalo/main
...
Add CRD name to error message when it is not ready to use
2024-01-12 14:59:48 +08:00
Jose Arevalo
0b307ca035
Add CRD name to error message when it is not ready to use
...
When debugging this error it is currently hard to identify what
CRD is causing the issue. This is particularly difficult when
dealing with over a hundred CRDs.
Signed-off-by: Jose Arevalo <jose.matias.arevalo@gmail.com>
2024-01-10 12:11:47 +10:00
Wenkai Yin(尹文开)
9a1be6f53f
Make "disable-informer-cache" option false(enabled) by default to keep it consistent with the help message
...
Make "disable-informer-cache" option false(enabled) by default to keep it consi
stent with the help message
Fixes #7264
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2024-01-10 09:49:54 +08:00
zhongjun.li
306a8fda3e
fix-item-operation-timeout-explain
...
Signed-off-by: zhongjun.li <zhongjun.li@daocloud.io>
2024-01-08 15:00:06 +08:00
Lyndon-Li
200fd80448
isue 6928: remove snapshot deletion timeout for PVB
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2024-01-08 11:28:23 +08:00
Daniel Jiang
a5d08ac5f0
Do not set "targetNamespace" to namepsace items
...
fixes #7263
This commit makes the data structures more consistent, that namespaces,
as cluster scoped resource will not have "targetNamespace" in the
"restoreableItem" instance.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2024-01-05 14:01:16 +08:00
qiuming
e84a51deec
Merge pull request #7262 from qiuming-best/intermediate-pv-delete
...
Fix intermediate PV delete for data mover
2024-01-04 15:45:32 +08:00
lyndon-li
c3c4c97914
Merge pull request #7265 from Lyndon-Li/change-node-agent-config-name
...
Change node-agent-config name
2024-01-04 15:43:43 +08:00
Ming Qiu
92fdf407c7
Fix intermediate pv delete for data mover
...
Signed-off-by: Ming Qiu <mqiu@vmware.com>
2024-01-04 03:26:47 +00:00
Lyndon-Li
58ead55fd1
change node-agent-config name
...
Signed-off-by: Lyndon-Li <yonghui.li@broadcom.com>
2024-01-03 22:02:04 +08:00
Xun Jiang
08dedd8b66
Rename volumeinfo metadata file.
...
Change from <backup-name>-volumeinfos.json.gz to
<backup-name>-volumeinfo.json.gz.
Signed-off-by: Xun Jiang <jxun@vmware.com>
2024-01-03 11:22:49 +08:00
zhongjun.li
8e4cefbb0d
Reduce backup DeepCopy
...
Signed-off-by: zhongjun.li <zhongjun.li@daocloud.io>
2024-01-02 11:34:40 +08:00
zhongjun.li
8c84836644
Fix pvc assignment
...
Signed-off-by: zhongjun.li <zhongjun.li@daocloud.io>
2023-12-29 15:09:41 +08:00
Lyndon-Li
60d2c62c1a
issue 7244: delete incomplete snapshot automatically for kopia uploader
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-12-22 16:44:00 +08:00
Qi Xu
ee345cf281
Adjust the newline output of resource list in restore describer ( #7238 )
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2023-12-22 10:53:29 +05:30
Xun Jiang/Bruce Jiang
7d2c749abf
Merge pull request #7231 from blackpiglet/update_volumeinfo_json_tag
...
Don't generate empty structure.
2023-12-21 16:32:58 +08:00
Xun Jiang
9be8eb0c6d
Don't generate empty structure.
...
VolumeInfo contains several sub-structures. They are filled for
different scenarios. Do not generate empty structure for the
not filled sub-structures.
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-12-21 14:53:03 +08:00
Lyndon-Li
210838267f
issue 7237: add pvc namespace to backup describe
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-12-21 10:02:27 +08:00
Lyndon-Li
0da01842ad
remove csi feature check from backup describe
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-12-20 14:51:21 +08:00
qiuming
a44cd4be33
Merge pull request #7222 from qiuming-best/adjust-bsl-setting-logic
...
Adjust velero server side default backup location setting logic
2023-12-20 10:29:59 +08:00
allenxu404
8f6d46be87
Remove the redundant newline in backup describe output
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2023-12-19 15:25:37 +08:00
Ming Qiu
7d2be128ae
Move velero server side default backup location setting logic to server startup
...
Signed-off-by: Ming Qiu <mqiu@vmware.com>
2023-12-19 05:43:29 +00:00
Xun Jiang/Bruce Jiang
ee879fdcc3
Merge pull request #7221 from blackpiglet/schedule_cli_fix
...
Fix shedule get and describe CLI nil pointer issue
2023-12-18 20:44:03 +08:00
Xun Jiang
6222891d5b
Fix shedule get and describe CLI issue.
...
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-12-18 16:41:10 +08:00
Lyndon-Li
0313c2add0
issue 7214: data mover backup describe for legacy backups
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-12-18 11:07:01 +08:00
Shubham Pampattiwar
ea6c8ca127
fix finalizer typo in logs ( #7204 )
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
2023-12-13 11:46:21 -05:00
lyndon-li
5f14628d69
Merge pull request #7201 from Lyndon-Li/issue-fix-7189
...
Issue 7189: generic restore - don't assume the first volume as the restore volume
2023-12-12 12:47:25 +08:00
Lyndon-Li
cf7d27c4bc
issue 7189: generic restore - don't assume the first volume as the restore volume
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-12-12 10:04:31 +08:00
Shubham Pampattiwar
2bd9bf2903
Merge pull request #7076 from shubham-pampattiwar/update-backup-log
...
Update backup log to reflect appropriate backup phase
2023-12-11 12:49:06 -08:00
Daniel Jiang
804b9a8d91
Merge pull request #7171 from kaovilai/tests-explicit-enableCSI
...
Add explicit enableCSI to TestProcessBackupCompletions
2023-12-11 14:11:37 +08:00
Wenkai Yin(尹文开)
c0613f1cf6
Merge pull request #7195 from reasonerjt/fix-7190
...
Use a new variable for resource path
2023-12-11 10:47:19 +08:00
Daniel Jiang
0f49935720
Use a new variable for resource path
...
This commit avoids mistakes when checking the type of the resource
Fixes #7190
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2023-12-10 23:19:52 +08:00
qiuming
52d3fca652
Merge pull request #7191 from qiuming-best/uploader-configmapkey
...
Modify uploader config map key
2023-12-08 13:49:34 +08:00
Ming Qiu
df82691097
Modify uploader config map key
...
Signed-off-by: Ming Qiu <mqiu@vmware.com>
2023-12-08 03:07:13 +00:00
Tiger Kaovilai
eaba99b92e
Add test skipImmediately is switched to false after reconcile
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2023-12-08 09:12:08 +07:00
Tiger Kaovilai
9e016c568a
Address requeue feedback
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2023-12-08 09:12:08 +07:00
Tiger Kaovilai
e4bd59727f
Schedule SkipImmediately
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2023-12-08 09:12:08 +07:00
lyndon-li
4070934f85
Merge pull request #7125 from Lyndon-Li/issue-fix-6695
...
Issue fix 6695: add describe for data mover backups
2023-12-07 16:23:30 +08:00
Xun Jiang/Bruce Jiang
759e8a9c63
Merge pull request #7184 from blackpiglet/7163_fix
...
Update CSIVolumeSnapshotsCompleted in backup's status and the metric
2023-12-07 11:14:28 +08:00
Xun Jiang
edb0860dd2
Fix issue #7163 .
...
Update CSIVolumeSnapshotsCompleted in backup's status and the metric
during backup finalize stage according to async operations content.
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-12-07 09:43:10 +08:00
lyndon-li
099acd2527
Merge pull request #7141 from qiuming-best/support-restore-sparse
...
Allow sparse option for Kopia & Restic restore
2023-12-06 18:25:34 +08:00
Ming Qiu
1a237d3e4c
Update API
...
Signed-off-by: Ming Qiu <mqiu@vmware.com>
2023-12-06 08:59:12 +00:00
Lyndon-Li
72fcd84a51
csi data mover backup describe
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-12-06 10:53:09 +08:00
lyndon-li
8d8d68d649
Merge pull request #7175 from blackpiglet/download_request
...
Refactor DownloadRequest Stream function
2023-12-06 10:28:44 +08:00
qiuming
ea04a86eb2
Merge pull request #6771 from qiuming-best/bsl-fix
...
Fix default BSL setting not work
2023-12-05 19:09:50 +08:00
Xun Jiang/Bruce Jiang
6093e651cb
Merge pull request #7161 from Lyndon-Li/node-agent-config-doc
...
Add node-agent concurrency doc
2023-12-05 16:52:29 +08:00
Lyndon-Li
ac5d030ab4
Merge branch 'main' into issue-fix-6695
2023-12-05 16:46:31 +08:00
qiuming
2fa785a3dd
Merge pull request #7052 from qiuming-best/data-mover-fail-early
...
Make data mover fail early
2023-12-05 16:33:46 +08:00
Lyndon-Li
434e073c67
csi data mover backup describe, support legacy backups
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-12-05 15:49:35 +08:00
Xun Jiang
c8e76f4602
Fix the DownloadRequest context error.
...
Clean the DownloadRequest Stream function.
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-12-05 13:29:23 +08:00
Daniel Jiang
f2ba625229
Merge pull request #7138 from blackpiglet/6595_volumeinfo_restore
...
Use VolumeInfo to help restore the PV.
2023-12-05 10:19:16 +08:00
Xun Jiang
28df14d9d5
Modify restore logic.
...
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-12-05 10:01:16 +08:00
Xun Jiang/Bruce Jiang
3b42abd139
Merge pull request #7174 from reasonerjt/snapshot-flag-skip-csi
...
Make sure the PVs skipped by CSI plugin due to settings in backup spec are tracked
2023-12-05 09:31:21 +08:00
Xun Jiang
c77bec73bb
Move VolumesInformation to an independant package.
...
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-12-04 08:33:37 +08:00
Xun Jiang
ca97248f2a
Use VolumeInfo to help restore the PV.
...
Add VolumeInfo for left PVs during backup.
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-12-04 08:33:37 +08:00
Tiger Kaovilai
2132506e8c
Add explicit enableCSI to TestProcessBackupCompletions
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2023-12-01 14:22:40 -05:00
Daniel Jiang
266ea5d55a
Make sure the PVs skipped by CSI plugin due to settings in backup spec
...
are tracked
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2023-12-01 14:19:54 +08:00
Shashank Singh
a318e1da99
Fix floatation of error/message in the backup result. ( #7159 )
...
* Fix floatation of error/message in the backup/restore result
Signed-off-by: Shashank Singh <shashank1306s@gmail.com>
* fix for checkgates
Signed-off-by: Shashank Singh <shashank1306s@gmail.com>
* refactoring
Signed-off-by: Shashank Singh <shashank1306s@gmail.com>
---------
Signed-off-by: Shashank Singh <shashank1306s@gmail.com>
2023-12-01 09:50:01 +05:30
Ming Qiu
c6cba300fb
Fix default BSL setting not work
...
Signed-off-by: Ming Qiu <mqiu@vmware.com>
2023-12-01 02:06:35 +00:00
Ming Qiu
0afaa70e9b
Merge branch 'main' of https://github.com/qiuming-best/velero into support-restore-sparse
2023-11-30 10:55:55 +00:00
Daniel Jiang
5cbfd9fffd
Merge pull request #7150 from Lyndon-Li/issue-fix-7135
...
Issue 7135: check pod status before checking node-agent pod status
2023-11-29 15:47:23 +08:00
Lyndon-Li
81183f683e
Merge branch 'main' into issue-fix-6695
2023-11-29 15:12:21 +08:00
Xun Jiang/Bruce Jiang
f5bbe82e78
Merge pull request #7152 from reasonerjt/track-skipped-SnapshotVolumes-false
...
Track the skipped PV when SnapshotVolumes set as false
2023-11-29 14:46:23 +08:00
Lyndon-Li
33b570d5cd
Merge branch 'main' into node-agent-config-doc
2023-11-29 14:45:20 +08:00
Lyndon-Li
8968ae5ec4
add node-agent concurrency doc
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-11-29 14:33:51 +08:00
Lyndon-Li
e416b20148
issue 7135: check pod status before checking node-agent pod status
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-11-29 13:46:50 +08:00
Xun Jiang
f5c159ce56
Resolve linter issues.
...
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-11-29 11:15:43 +08:00
Xun Jiang
d70535b6d2
Add nolintlint linter.
...
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-11-29 11:13:46 +08:00
Xun Jiang
ec03d1ebce
Add noctx linter.
...
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-11-29 11:13:46 +08:00
Xun Jiang
dbd1a12d9f
Add nilerr and ginkgolinter linter.
...
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-11-29 11:13:46 +08:00
Xun Jiang
cddc11e000
Enable linter errchkjson.
...
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-11-29 11:13:46 +08:00
Xun Jiang
3805a470a9
Enable dupword linter.
...
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-11-29 11:13:46 +08:00
Ming
03dff100a3
Make data mover fail early
...
Signed-off-by: Ming <mqiu@vmware.com>
2023-11-29 03:03:53 +00:00
Daniel Jiang
b8604b6a89
Treat namespace as a regular restorable item ( #7143 )
...
Fixes #1970
Namespaces will be handled as cluster-scope resource, but for
consistency they will still created via "Ensure namespace" flow for
consistency.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2023-11-28 11:20:36 -05:00
Daniel Jiang
b759877f5b
Track the skipped PV when SnapshotVolumes set as false
...
This commit makes sure if a PV is not taken snapshot b/c the flag
SnapshotVolumes is set to false in a backup CR, the PV is also also
tracked as skipped in the tracker.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2023-11-28 22:52:17 +08:00
Ming Qiu
b57dde1572
Allow sparse option for Kopia & Restic restore
...
Signed-off-by: Ming Qiu <mqiu@vmware.com>
2023-11-28 13:48:09 +00:00
Daniel Jiang
85482aefaf
Merge pull request #7117 from allenxu404/issue6567
...
Add hook status to backup/restore CR
2023-11-28 16:54:11 +08:00
allenxu404
5d1a632be4
Add hook status to backup/restore CR
...
Signed-off-by: allenxu404 <qix2@vmware.com>
2023-11-28 14:47:31 +08:00
Wenkai Yin(尹文开)
6ac7ff1230
Merge pull request #7130 from qiuming-best/data-mover-recoverbility
...
Node agent restart enhancement
2023-11-28 14:25:47 +08:00
Ming Qiu
98a56eb5c7
Node agent restart enhancement
...
Signed-off-by: Ming Qiu <mqiu@vmware.com>
2023-11-28 05:50:46 +00:00
qiuming
3fdb3ec7c5
Merge pull request #7069 from 27149chen/imporve-discovery-refresh
...
improve discoveryHelper.Refresh() in restore
2023-11-27 18:02:36 +08:00
lou
179faf3e33
update after review
...
Signed-off-by: lou <alex1988@outlook.com>
2023-11-27 17:39:37 +08:00
Xun Jiang/Bruce Jiang
d336e2812e
Merge pull request #6958 from blackpiglet/5156_list_option_fix
...
Change controller-runtime List option from MatchingFields to ListOpti…
2023-11-27 17:38:12 +08:00
Lyndon-Li
8ab0c017a9
issue 6695: add backup description for data mover
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-11-27 16:19:34 +08:00
qiuming
ccd3f220ad
Merge pull request #7090 from qiuming-best/perf-test-0
...
Enhance perf test
2023-11-27 16:10:26 +08:00
Ming
507157f812
Add perf test namespace mapping when restore
...
Signed-off-by: Ming <mqiu@vmware.com>
2023-11-27 02:11:13 +00:00
Lyndon-Li
1815c1691f
Merge branch 'main' into issue-fix-6695
2023-11-27 09:46:22 +08:00
Ming Qiu
c2d4495efe
Merge branch 'main' of https://github.com/qiuming-best/velero into kopia-parallelism
2023-11-22 03:52:20 +00:00
Wenkai Yin(尹文开)
5c958d820d
Merge pull request #7100 from blackpiglet/6595_volumeinfo_generate
...
6595 volumeinfo generate
2023-11-22 11:14:36 +08:00
Ming Qiu
fea22bbbc9
Merge branch 'main' of https://github.com/qiuming-best/velero into kopia-parallelism
2023-11-22 01:42:39 +00:00
Xun Jiang
7f52321772
Generate VolumeInfo.
...
Remove CSI VolumeSnapshot listter and the informer.
Add download the VolumeInfos metadata for backup.
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-11-22 09:40:38 +08:00
qiuming
b8a5859fe7
Merge pull request #7091 from anshulahuja98/recoverplugin
...
Don't fail backup/restore on velero server restart in PhaseWaitingFor…
2023-11-20 14:49:15 +08:00
Daniel Jiang
e0edc8ee93
Merge pull request #7107 from yanggangtony/update-configmaps
...
Fix docs: Use camel case for API objects: configmaps and secrets
2023-11-20 14:48:47 +08:00
Wenkai Yin(尹文开)
e3fb94833d
Merge pull request #7115 from reasonerjt/wrap-bia-err
...
Include plugin name in the error message by operations
2023-11-20 14:48:18 +08:00
Daniel Jiang
ca57756ff6
Include plugin name in the error message by operations
...
fixes #6512
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2023-11-20 12:12:02 +08:00
Lyndon-Li
4e4f0aa1da
issue 6695: add backup describe for CSI snapshot data movement 02
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-11-20 12:11:21 +08:00
Lyndon-Li
582be97a63
Merge branch 'main' into issue-fix-6695
2023-11-18 00:12:25 +08:00
Lyndon-Li
b99ac448ae
issue 6695: add backup describe for CSI snapshot data movement
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-11-18 00:11:29 +08:00
Wenkai Yin(尹文开)
939dd7149a
Merge pull request #7070 from blackpiglet/6595_interface
...
Add VolumeInfo metadata structures.
2023-11-17 19:31:29 +08:00
Xun Jiang
b440a4f53f
Add VolumeInfo metadata structures and object get method.
...
Modify design according to comments.
Add PVInfo structure.
Add backup VolumeInfo's object storage's put and get methods.
Signed-off-by: Xun Jiang <jxun@vmware.com>
2023-11-17 17:23:47 +08:00