lyndon-li and GitHub
67bd694d1b
Merge pull request #7437 from Lyndon-Li/issue-fix-7036
...
Issue 7036: node selection for data mover backup
2024-03-29 17:04:40 +08:00
Matthieu MOREL
ef04ef6361
golangci-lint: use exclude-rules instead of skip-files and skip-dirs
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-27 20:17:34 +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
7bf7fb9fc1
issue 7036: fail early by peek expose
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-02-18 14:34:35 +08:00
Tiger Kaovilai and GitHub
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
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
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
qiuming and GitHub
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
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
Ming
03dff100a3
Make data mover fail early
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-11-29 03:03:53 +00:00
David Zaninovic and GitHub
8e01d1b9be
Add support for block volumes ( #6680 )
...
Signed-off-by: David Zaninovic <dzaninovic@catalogicsoftware.com >
2023-09-28 09:44:46 -04:00
Lyndon-Li
c4443d506c
fix issue 6733
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-09-01 15:49:13 +08:00
Xun Jiang
9e515ac397
Remove dependency of the legacy client code from pkg/cmd directory part 2.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-07-17 17:04:53 +08:00
lyndon and GitHub
ddc50affa9
Merge pull request #6492 from Lyndon-Li/data-mover-restore-abort-for-existing-pvc
...
Data mover restore abort for existing PVC
2023-07-14 17:19:53 +08:00
Xun Jiang
89d3ad4864
Remove dependency of the legacy client code from pkg/cmd directory.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-07-14 15:55:09 +08:00
Lyndon-Li
eebb879278
data mover restore abort for existing pvc
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-07-14 10:07:33 +08:00
Lyndon-Li
75b7599178
add UT for pkg/util 02
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-06-15 12:17:05 +08:00
Lyndon-Li
b00633976b
Merge branch 'main' into issue-fix-6341
2023-06-15 10:11:47 +08:00
Lyndon-Li
217b1dd066
add UT for pkg/util
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-06-08 14:00:58 +08:00
Lyndon-Li
2ea6ffb63f
data mover restore expose
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-06-06 16:14:58 +08:00
Lyndon-Li
25624d3030
data mover backup expose
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-06-02 11:51:36 +08:00
Lyndon-Li
623da51494
add shared generic data path
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-05-12 12:01:59 +08:00
15d44724e7
Modify golangci.yaml file. Resolve found lint issues. ( #6008 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
Co-authored-by: Xun Jiang <blackpiglet@gmail.com >
2023-03-24 12:15:08 +08:00
Xun Jiang
c2ac76165e
Make restore controller adopting the controller-runtime framework.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-02-25 11:55:02 +08:00
Fish-pro and GitHub
ef05af13bf
Clean up unused variables and functions ( #5818 )
...
Signed-off-by: Fish-pro <zechun.chen@daocloud.io >
2023-02-09 10:53:24 +08:00
lyndon and GitHub
53c3f4b436
Issue fix 5226 ( #5768 )
...
* fix issue 5226
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-02-07 17:47:25 +08:00
Xun Jiang/Bruce Jiang and GitHub
0b6b841f2a
Remove redundant client from restore controller. ( #5759 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-02-03 15:57:43 +08:00
Lyndon-Li
d23418b5b5
add change log
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-01-17 18:23:43 +08:00
Lyndon-Li
fc98268181
Merge branch 'main' into issue-fix-5043
2023-01-12 16:54:50 +08:00
yanggang
62c00ba841
fix log info : pkg/util/kube/isProvisionedByCSI
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-01-03 10:37:19 +08:00
Lyndon-Li
88a1317f48
fix issue 5043
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-12-15 20:00:54 +08:00
Ming
bf1122b633
Fix controller problematic log output
...
Signed-off-by: Ming <mqiu@vmware.com >
2022-11-09 06:46:45 +00:00
Lyndon-Li
c92f06ef17
fix lint loop iterator problem
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-10-18 22:40:48 +08:00
Lyndon-Li
d7b4583b2b
fix lint errors
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-10-18 21:53:47 +08:00
Wenkai Yin(尹文开)
4b9dbfa416
Support pause/unpause schedules
...
Support pause/unpause schedule
Fixes #2363
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-09-15 10:42:48 +08:00
Lyndon-Li
fbb2606102
issue fix 4874 update
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-09-13 11:15:52 +08:00
6fea973c57
Migrate backup sync controller from code-generator to kubebuilder ( #5218 )
...
* Migrate backup sync controller from code-generator to kubebuilder
1. use kubebuilder's reconcile logic to replace controller's old logic.
2. use ginkgo and gomega to replace testing.
3. modify BSL reconciler registration method.
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
* Add Option for PeriodicalEnqueueSource.
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
Co-authored-by: Xun Jiang <blackpiglet@gmail.com >
2022-08-30 16:55:39 +08:00
Xun Jiang
7af1e23614
Add annotation "pv.kubernetes.io/migrated-to" for CSI checking.
...
1. Also checking annotation "pv.kubernetes.io/migrated-to" to find out whether volume is provisioned by CSI.
2. Add UT cases.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-08-08 10:59:41 +08:00
Wenkai Yin(尹文开)
f550f8e3cd
Fix bsl validation bug
...
Fix bsl validation bug: the BSL is validated continually and doesn't respect the validation period configured
Fixes #5056
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-07-06 14:20:03 +08:00
Wenkai Yin(尹文开)
34087fe5f4
Disable status as sub resource in CRDs
...
When enabling the status as sub resource in CRD, the status will be ignored when creating the CR with status, this will cause issues when syncing backups/pvbs
Fixes #4950
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-06-09 07:52:08 +08:00
Wenkai Yin(尹文开) and GitHub
879d03398b
Merge pull request #4894 from blackpiglet/bsl-refactor
...
Refactor BSL controller with periodical enqueue source
2022-05-11 19:23:51 +08:00
Xun Jiang
989a1e3ebb
Refactor BSL controller with periodical enqueue source.
...
Add filter functions for PeriodicalEnqueueSource.
Move BSL's valication frequency check test case to PeriodicalEnqueueSource's test.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2022-05-11 15:31:47 +08:00
Wenkai Yin(尹文开)
034cda2571
Make in-progress PVB/PVR as failed when restic controller restarts to avoid hanging backup/restore
...
Make in-progress PVB/PVR as failed when restic controller restarts to avoid hanging backup/restore
Fixes #4772
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-05-07 16:51:06 +08:00
Wenkai Yin(尹文开)
c2c211fefb
Convert Pod Volume Restore resource/controller to the Kubebuilder framework
...
Convert Pod Volume Restore resource/controller to the Kubebuilder framework
Fixes #4134
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-04-26 16:23:38 +08:00
Wenkai Yin(尹文开)
016ac129c6
Refactor schedule controller with kubebuilder
...
Refactor schedule controller with kubebuilder
fixes #4671
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-04-07 17:32:52 +08:00
MatthieuFin
a57298254f
Fix typo on tests fields name and add another test with gesture of errors wanted on equals
...
Signed-off-by: MatthieuFin <matthieu2717@gmail.com >
2022-02-24 12:09:04 +01:00
MatthieuFin
f6bdfd09c5
Merge remote-tracking branch 'upstream/main'
...
Signed-off-by: MatthieuFin <matthieu2717@gmail.com >
2022-02-23 15:03:15 +01:00
Wenkai Yin(尹文开)
fcad46ccdf
Check whether the volume is provisioned by CSI driver or not by the annotation as well
...
Check whether the volume is provisioned by CSI driver or not by the annotation as well
Fixes #4496
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2022-01-12 19:05:33 +08:00
Daniel Jiang and GitHub
746cd616fd
remove IsUnstructuredCRDReady ( #4085 )
...
This commit removes `IsUnstructuredCRDReady` since
kubernetes/kubernetes#87675 is fixed.
Is uses `Is1CRDReady` to check the readiness of CRD.
After v1.7 we may consider merge the funcx `IsV1Beta1CRDReady` and
`IsV1CRDReady`
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2021-09-01 13:38:17 +08:00
MatthieuFin
08e4138c16
Fix lint issue and test failed
...
Signed-off-by: MatthieuFin <matthieu2717@gmail.com >
2021-08-31 17:43:09 +02:00