Commit Graph

43 Commits

Author SHA1 Message Date
zach593 6c7a70f4e5 service aggregate status deduplication
Signed-off-by: zach593 <zach_li@outlook.com>
2025-04-03 11:09:44 +08:00
zach593 1e3795e3b8 don't add cluster name to hostname field when aggregate service status
Signed-off-by: zach593 <zach_li@outlook.com>
2025-03-30 21:43:45 +08:00
zach593 ffefe654ae fixed some UTs did not pass apiversion and kind when generating unstructured.Unstructured
Signed-off-by: zach593 <zach_li@outlook.com>
2025-02-19 20:39:55 +08:00
Anuj Agrawal 59f266cd0c Added unit tests for pkg/resourceinterpreter/default/native/reflectstatus.go
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-11-17 20:52:11 +05:30
Julian Lawrence 902bb1bbc9 fix sts pvc logic
Co-authored-by: yelshall <youssuf.elshall@zendesk.com>
Signed-off-by: Julian Lawrence <julianlawrence@gmail.com>
2024-10-02 19:45:23 -07:00
whitewindmills b4ad838227 Fix spelling errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-08-29 15:58:05 +08:00
Nishant Bansal 2818bae8ff Improved test coverage for default.go and other related files in pkg/resourceinterpreter
Signed-off-by: Nishant Bansal <nishant.bansal.mec21@iitbhu.ac.in>
2024-08-16 16:32:31 +05:30
Nishant Bansal e6a7b49a58 Improved test coverage for replica in pkg/resourceinterpreter
Signed-off-by: Nishant Bansal <nishant.bansal.mec21@iitbhu.ac.in>
2024-08-13 12:52:46 +05:30
Nishant Bansal 95b91845a0 Add test coverage for revisereplica and retain in pkg/resourceinterpreter/
Signed-off-by: Nishant Bansal <nishant.bansal.mec21@iitbhu.ac.in>
2024-08-12 15:17:58 +05:30
Lan Liang 0de6b285c8 Align federated StatefulSet's observedGeneration semantics with its native
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-07-16 05:09:01 +00:00
whitewindmills 82aad4eee2 Align federated DaemonSet's observedGeneration semantics with its native
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-10 16:31:05 +08:00
whitewindmills bf9eaf05ec Fix the bug in interpreting the replicas of Job
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-06-24 18:17:05 +08:00
孙伟祥 933343df10 fix deployment observed generation logic
Signed-off-by: 孙伟祥 <sunweixiang@xiaohongshu.com>
2024-06-14 14:05:42 +08:00
changzhen 8ec02ca39b add verify for all kinds of interpters with InterpretDependency operation
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-28 20:00:00 +08:00
Amir Alavi 3dfa5b54bd
fix: remove deployment revision annotation
Signed-off-by: Amir Alavi <amir.alavi@zendesk.com>
2024-05-20 07:19:21 -04:00
changzhen 581f392525 remove retain annotations logic
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-17 16:30:56 +08:00
karmada-bot b217a9ce2d
Merge pull request #4944 from a7i/unit-test-retain-pv-pvc
unit test for interpreter retain (pv, pvc)
2024-05-16 09:59:20 +08:00
Amir Alavi 1496888318
unit test for interpreter retain (pv, pvc)
Signed-off-by: Amir Alavi <amir.alavi@zendesk.com>
2024-05-15 17:25:37 -04:00
Amir Alavi 384afd48fc
feat: retain `PersistentVolumeClaim` annotation `volume.kubernetes.io/selected-node`
Signed-off-by: Amir Alavi <amir.alavi@zendesk.com>
2024-05-15 17:21:34 -04:00
zhzhuang-zju 309c67701b bump golangci to v1.58.0
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-05-13 09:32:13 +08:00
RainbowMango d4b610cad6 fix lint issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-06 11:36:54 +08:00
whitewindmills 8328054439 Deprecate name/namespace labels of work
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-28 15:22:44 +08:00
Amir Alavi 7dbfc9f22b
propagate `Secret` of type `kubernetes.io/service-account-token`
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-04-11 09:45:23 -04:00
Amir Alavi 3cd983db96
chore: refactor `prune.RemoveIrrelevantField` to allow for more kind pruners
Signed-off-by: Amir Alavi <amir.alavi@zendesk.com>
2024-04-09 15:19:14 -04:00
karmada-bot ff7322acf2
Merge pull request #4729 from chaosi-zju/hpav5
fix deployment replicas syncer in case that `status.replicas` haven't been collected from member cluster to template
2024-03-27 18:38:38 +08:00
chaosi-zju 31d6855e63 fix deployment replicas syncer in case that status.replicas haven't been collected
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-03-27 17:34:46 +08:00
Zhiqiang Li 7a55dcd217 fix: replica interpreter err log format
Signed-off-by: Zhiqiang Li <stulzq@qq.com>
2024-03-20 19:50:52 +08:00
karmada-bot 4fe9dff3a8
Merge pull request #4204 from zhy76/copyright
feat: add license and verify license for code file
2023-11-22 10:23:52 +08:00
Lan Liang 3296603788 Prune job label for kubernetes 1.27,prefix with `batch.kubernetes.io/`
Signed-off-by: Lan Liang <gcslyp@gmail.com>
Co-authored-by: Hongcai Ren <renhongcai@huawei.com>
2023-11-17 09:03:02 +00:00
zhy76 adef1e5974 feat: add license and verify license for code file
Signed-off-by: zhy76 <958474674@qq.com>
2023-11-16 11:11:21 +08:00
chaosi-zju a4828cc410 retain for hpa controlled Deployment resource
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-09-21 19:44:01 +08:00
chaosi-zju 64ffa2a28e aggregate the HPA status from member clusters into control plane.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-09-18 11:31:21 +08:00
whitewindmills c8423cb237 fix spelling errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-09-04 10:22:39 +08:00
chaunceyjiang 2c55f10641 feat: Refactor the mechanism for propagating serviceexport derived svc and eps.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-08-18 16:04:35 +08:00
karmada-bot 0d17a0a542
Merge pull request #3876 from whitewindmills/replica-interpreter
feat: add pod replica interpreter
2023-08-10 09:36:50 +08:00
chaunceyjiang 72b5af2980 Add a Ingress to the default dependencinterpreter
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-08-02 17:47:31 +08:00
whitewindmills 10b644f317 add pod replica interpreter
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-08-01 21:30:13 +08:00
chaunceyjiang c3a4c26001 fix aggregateCronJobStatus panic
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-20 12:22:48 +08:00
chaunceyjiang f055c0d8f2 feat: supports aggregating the status of a pod's initcontainer
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-05 15:08:36 +08:00
neteric a95b576812 Fix func retainPodFields not include initContainer'volumesMounts bug
Signed-off-by: neteric <net.eric.zhang@gmail.com>
2023-04-18 15:51:59 +08:00
yike21 18ebee199f add unit test for pkg/resourceinterpreter/default/native/dependencies.go
Signed-off-by: yike21 <yike21@qq.com>
2023-04-13 17:56:55 +08:00
yike21 9acd98faec Add a function getPodDependencies for InterpretDependency operation
Signed-off-by: yike21 <yike21@qq.com>
2023-04-01 11:42:08 +08:00
chaunceyjiang 7e2097f1f3 Optimize code directory structure.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-03-30 11:49:16 +08:00