Commit Graph

2369 Commits

Author SHA1 Message Date
karmada-bot e95c6050ea
Merge pull request #3665 from helen-frank/feature/karmadactlTimeout
karmadactl init add timeout flag
2023-06-20 11:33:47 +08:00
helen e6fc3eafee karmadactl init add timeout flag
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-06-20 10:23:18 +08:00
karmada-bot 6d2832ff9a
Merge pull request #3668 from Poor12/fix-cachemapper
Fix cached RESTMapper when pass no versions
2023-06-20 09:54:47 +08:00
karmada-bot 0febf48bc3
Merge pull request #3638 from chaunceyjiang/custom-metrics
feat: support custom metrics for metrics adapter
2023-06-19 21:10:46 +08:00
chaunceyjiang 70e5260315 feat: support custom metrics for metrics adapte
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-19 16:51:47 +08:00
karmada-bot d4f69f221a
Merge pull request #3652 from jwcesign/fix-version-parse-v2
feat: Fix version parse
2023-06-16 15:08:44 +08:00
karmada-bot d5e604c24c
Merge pull request #3130 from yanfeng1992/fix-remove-cluster-re-queue
unjoin cluster check namespace reduce cluster enqueue
2023-06-16 11:41:50 +08:00
jwcesign 06efa55b46 feat: Support prerelease version parse
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-06-16 10:09:07 +08:00
Poor12 c84ccf61c1 fix cached rest mapper
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-06-13 15:04:41 +08:00
karmada-bot 9cb88f77ed
Merge pull request #3549 from Poor12/delete-note
Delete redundant deepcopy
2023-06-13 14:25:42 +08:00
karmada-bot 6281166acf
Merge pull request #3554 from JadeFlute0127/master
Upgrade cluster-api to v1beta1 for v1alpha3/v1alpha4 deprecated
2023-06-13 14:10:41 +08:00
huangyanfeng da234809fc add ExecutionSpaceRetryFrequency to reduce cluster requeue
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-06-12 20:01:49 +08:00
xigang 889466ffd1 fixed supported to supported naming
Signed-off-by: xigang <wangxigang2014@gmail.com>
2023-06-11 11:03:51 +08:00
Poor12 e71a360f17 delete redundant deepcopy
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-06-09 17:37:12 +08:00
chaunceyjiang 23f94a4c75 When different clusters have the same pod name, the annotations of different metrics have the same value
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-09 10:35:28 +08:00
zhangdiandian 291ffdbcc1 Upgrade cluster-api to v1beta1 for v1alpha3/v1alpha4 deprecated
Signed-off-by: zhangdiandian <1635468471@qq.com>
2023-06-08 23:57:05 +08:00
xigang 154673a571 karmada-search: Add ResetFieldsStrategy for resource rest store
Signed-off-by: xigang <wangxigang2014@gmail.com>
2023-06-06 17:03:07 +08:00
karmada-bot 527efd174f
Merge pull request #3621 from realnumber666/add-ut/crb_status_controller
Add ut for `pkg/controllers/applicationfailover` and `pkg/controllers/status`
2023-06-06 12:31:23 +08:00
rayywu 7864e11267 Add UT for crb_application_failover_controller.go and rb_application_failover_controller.go
Signed-off-by: rayywu <rayywu@tencent.com>
2023-06-05 20:30:47 +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
karmada-bot bfb9bc327f
Merge pull request #3622 from Poor12/test
Add printcolumn for FederatedHPA
2023-06-04 17:20:21 +08:00
Poor12 3dbe507759 add column
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-06-02 16:46:14 +08:00
karmada-bot 1251ec9d36
Merge pull request #3618 from Vacant2333/fix_typo
fix typos
2023-06-02 11:46:19 +08:00
Vacant2333 7bd2ced976 fix typos
Signed-off-by: Vacant2333 <rentian.zhou@daocloud.io>
2023-06-02 10:39:02 +08:00
rayywu e97d29500b Add UT for pkg/controllers/applicationfailover/common.go
Signed-off-by: rayywu <rayywu@tencent.com>
2023-06-02 00:26:49 +08:00
xigang daab73319b cleanup: delete the useless Scheme.AddUnversionedTypes code
Signed-off-by: xigang <wangxigang2014@gmail.com>
2023-06-01 22:14:37 +08:00
rayywu 8e0f186302 Add UT for pkg/controllers/status/rb_status_controller.go
Signed-off-by: rayywu <rayywu@tencent.com>
2023-06-01 20:41:18 +08:00
rayywu 0ee9be39bb Add UT for pkg/controllers/status/crb_status_controller.go
Signed-off-by: rayywu <rayywu@tencent.com>
2023-06-01 20:33:47 +08:00
karmada-bot dff7a5b788
Merge pull request #3496 from chaunceyjiang/zero_replicas
Fix zero deployment can still propagate to member clusters when EnableEmptyWorkloadPropagation flag is false
2023-05-31 14:51:18 +08:00
jwcesign 06960c22c0 feat: add validation for federatedhpa
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-05-30 20:43:57 +08:00
karmada-bot 18c70c8285
Merge pull request #3589 from Poor12/add-hpa-controller
Add federatedHpa controller
2023-05-30 19:38:16 +08:00
chaunceyjiang a6d58ee34a fix When EnableEmptyWorkloadPropagation flag is false zero deployment still can be propagated to member cluster
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-05-30 17:33:44 +08:00
Poor12 3a1464828a add hpa controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-30 17:26:02 +08:00
chaunceyjiang b47aa073d8 karmada-metrics-adapter only handles clusters in Push mode
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-05-30 17:16:17 +08:00
karmada-bot 1e7ab937eb
Merge pull request #3468 from yanfeng1992/work-shortname
Add kubebuilder shortName for work
2023-05-29 19:48:16 +08:00
karmada-bot bddaf31dbf
Merge pull request #3591 from sunbinnnnn/forked
Change the length of modelSortings array for panic of index error
2023-05-29 16:55:16 +08:00
karmada-bot 66275b1c9e
Merge pull request #3595 from jwcesign/centralized-hpa-api
cleanup: genertate the necessary code for federatedhpa and fix typo
2023-05-29 15:55:16 +08:00
jwcesign d2c752f351 cleanup: fix typo and generate the necessary code for federatedhpa
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-05-29 14:24:22 +08:00
karmada-bot 42355694ae
Merge pull request #3578 from jwcesign/metrics-adapter-v4
feat: add metrics-adapter component to support centralized hpa
2023-05-28 23:21:15 +08:00
jwcesign 6dfa4d068e feat: support fieldSelector
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-05-28 16:02:57 +08:00
RainbowMango f0798a8579 Fix code generation
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-05-28 10:29:30 +08:00
jwcesign 184c161010 Add centralized HPA api
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-05-28 10:29:30 +08:00
NeilSun efb2ce0a67 Change the length of modelSortings array for panic of index error
If grade number of resourceModel less than rsName, the controller
may panic with index error.
The length of resource model grades array should equl the length
of rsName array.

Signed-off-by: NeilSun <sunbinnnnn@hotmail.com>
2023-05-27 22:57:30 +08:00
jwcesign ae6c34578c feat: add metrics-adapter component to support centralized hpa
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-05-26 11:23:38 +08:00
karmada-bot d01ded2c2d
Merge pull request #3568 from realnumber666/add-ut/work_status_controller_0522
Add UT for pkg/controllers/status/work_status_controller.go
2023-05-23 21:03:55 +08:00
rayywu 1412b2d12c Add UT for pkg/controllers/status/work_status_controller.go
Signed-off-by: rayywu <rayywu@tencent.com>
2023-05-23 16:50:33 +08:00
yike21 9471d166d1 add customizations for argoproj.io/v1alpha1/Workflow
Signed-off-by: yike21 <yike21@qq.com>
2023-05-23 16:31:47 +08:00
karmada-bot 6089fa3794
Merge pull request #3527 from ikaven1024/proxy
Support namespace filter in RR for search proxy
2023-05-22 19:55:54 +08:00
karmada-bot 3151f02f6e
Merge pull request #3547 from zishen/master
Add UT for pkg/controllers/binding/binding_controller.go
2023-05-22 16:44:55 +08:00
karmada-bot 26b272aef8
Merge pull request #3535 from realnumber666/add-ut/cluster_status_controller
Add UT for pkg/controllers/status/cluster_status_controller_test.go
2023-05-22 16:17:54 +08:00
RainbowMango 26ca04122c Update golangci-lint to v1.52.2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-05-22 11:22:13 +08:00
karmada-bot c6f52f1146
Merge pull request #3491 from my-git9/fix/errorex
fix error example for addons enable
2023-05-19 20:41:53 +08:00
karmada-bot 8594406e5f
Merge pull request #3398 from whitewindmills/code-cleanup
Fix inspection errors
2023-05-19 20:28:53 +08:00
zishen 8391b233c4 Add UT for pkg/controllers/binding/binding_controller.go
Signed-off-by: zishen <softwarebtg@163.com>
2023-05-19 14:22:32 +08:00
rayywu 0c9b8d9a1e Add UT for pkg/controllers/status/cluster_status_controller_test.go
Signed-off-by: rayywu <rayywu@tencent.com>
2023-05-18 16:12:14 +08:00
karmada-bot 64d88459bb
Merge pull request #3537 from chaunceyjiang/application
fix: When suppression and graciously Tasks coexist in the GracefulEvictionTask queue,  the graciously task cannot work.
2023-05-17 18:50:51 +08:00
karmada-bot 0789c83cfa
Merge pull request #3511 from ctripcloud/concurrent-pp
enable concurrency for pp and cpp
2023-05-17 18:33:53 +08:00
whitewindmills 89295f9606 Fix inspection errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-05-17 17:06:27 +08:00
chaunceyjiang c602c4ba02 fix: When suppression and graciously Tasks coexist in the GracefulEvictionTask queue, the graciously task cannot work.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-05-16 20:04:15 +08:00
karmada-bot b28d6e01a1
Merge pull request #3543 from HassanTanveer/fix-typo
fix: Fixed typo
2023-05-16 17:21:50 +08:00
karmada-bot 2e6962f4c5
Merge pull request #3533 from Poor12/add-e2e-for-app-failover
Fix overridePolicy do not work when failed to process one of the matched binding
2023-05-16 10:53:50 +08:00
Hassan Tanveer 3e2c4408f1 Fixed typo
Signed-off-by: Hassan Tanveer <hassan.tanveer0097@gmail.com>
2023-05-15 20:47:48 +00:00
yingjinhui 67351f48c8 Support namespace filter in RR for search proxy
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2023-05-15 21:52:33 +08:00
Poor12 6ad5a2704e [flake] application failover testing
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-15 20:22:48 +08:00
karmada-bot 7004057093
Merge pull request #3499 from yike21/bundle-kyverno-clusterpolicy
add customizations for kyverno.io/v1/ClusterPolicy
2023-05-15 16:53:50 +08:00
karmada-bot d6470bcf49
Merge pull request #3498 from yike21/bundle-kyverno-policy
add customizations for kyverno.io/v1/Policy
2023-05-15 16:48:50 +08:00
karmada-bot 5e4e707779
Merge pull request #3494 from LronDC/master
Allow user decide whether to automatically generate Propagation-policy and its name when promote
2023-05-15 10:37:49 +08:00
karmada-bot 9d72f27329
Merge pull request #3504 from realnumber666/add-unit-test
Add UT for pkg/util/lifted
2023-05-15 09:28:56 +08:00
karmada-bot 02f6a80994
Merge pull request #3492 from chaunceyjiang/checkthirdparty
check thirdparty resources
2023-05-14 23:48:56 +08:00
rayywu 5977e1bd00 Add UT for pkg/util/lifted
Signed-off-by: rayywu <rayywu@tencent.com>
2023-05-14 01:33:12 +08:00
LronDC f9b1071c3c Add --auto-generate-propagation-policy and --propagation-policy-name options to promote command
Signed-off-by: LronDC <lun.su@daocloud.io>
2023-05-12 18:53:43 +08:00
chaunceyjiang 62723e9a49 check thirdparty resources
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-05-12 16:40:09 +08:00
changzhen c04fd6ad62 add validation for mci
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-05-12 15:49:50 +08:00
karmada-bot 772f89ad99
Merge pull request #3523 from chaunceyjiang/validate_federatedresourcequota
fix: add missing federatedresourcequota validate config
2023-05-12 14:51:25 +08:00
Amir Alavi 121afd21ff
add managed-by label to resources created by karmada controllers (#3262)
* update value of managed-by label to 'karmada'

Signed-off-by: Amir Alavi <amiralavi7@gmail.com>

* change managed by label to a karmada reserved label

Signed-off-by: Amir Alavi <amiralavi7@gmail.com>

---------

Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2023-05-12 14:35:24 +08:00
karmada-bot c8874ee878
Merge pull request #3497 from whitewindmills/search-debug
add GroupResource
2023-05-11 21:14:24 +08:00
chaunceyjiang 77d6e665be fix: add federatedresourcequota validate config
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-05-11 18:58:37 +08:00
fei.li 28e148ff0c fix DeepEqual in federated-resource-quota-status-controller;
Signed-off-by: lifei <504034114@qq.com>
2023-05-11 17:19:54 +08:00
zach593 8d221b110c enable concurrency for pp and cpp
Signed-off-by: zach593 <zach_li@outlook.com>
2023-05-10 16:10:51 +08:00
karmada-bot 9bd709ac0c
Merge pull request #3505 from callmeoldpince/master
Fix:search http response add content-type header
2023-05-10 12:30:23 +08:00
liufang73 89d60cb450 fix:search http response add content-type header
Signed-off-by: old.prince <di7zhang@gmail.com>
2023-05-10 11:03:24 +08:00
karmada-bot 17eae7d32c
Merge pull request #3508 from Poor12/revert-fields
Revert preConditions and blockPredecessorSeconds in failover
2023-05-09 17:45:23 +08:00
Poor12 5bdd837f35 revert some fields
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-09 16:38:48 +08:00
yike21 b27aae5d18 add customizations for kyverno.io/v1/Policy
Signed-off-by: yike21 <yike21@qq.com>
2023-05-08 22:50:41 +08:00
karmada-bot 012dd6fde8
Merge pull request #3502 from RainbowMango/pr_update_clusterapi
Update cluster-api version to semantic version
2023-05-08 21:00:22 +08:00
RainbowMango 07f8929fb4 Update cluster-api version to semantic version
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-05-08 18:24:00 +08:00
xigang d980d2e19e karmada-search: improve opensearch backend logs
Signed-off-by: xigang <wangxigang2014@gmail.com>
2023-05-08 17:31:33 +08:00
Poor12 3e63826f97 fix application controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-08 10:48:43 +08:00
yike21 071c185bd9 add customizations for kyverno.io/v1/ClusterPolicy
Signed-off-by: yike21 <yike21@qq.com>
2023-05-07 21:11:33 +08:00
whitewindmills 2f4ccbfbd2 add GroupResource
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-05-06 18:17:00 +08:00
karmada-bot 99f3c4f1f4
Merge pull request #3461 from Poor12/add-health-controller-draft
Add application failover controller
2023-05-06 16:18:20 +08:00
Poor12 d06fe2b5b3 add application failover controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-06 10:36:54 +08:00
karmada-bot 0e10088974
Merge pull request #3482 from yike21/bundle-fluxcd-helmrepository
add customizations for source.toolkit.fluxcd.io/v1beta2/OCIRepository
2023-05-06 10:02:20 +08:00
karmada-bot 060dbf95c1
Merge pull request #3485 from yike21/bundle-fluxcd-Bucket
add customizations for source.toolkit.fluxcd.io/v1beta2/Bucket
2023-05-06 09:53:20 +08:00
yike21 ac4fe4ff2a add customizations for source.toolkit.fluxcd.io/v1beta2/OCIRepository
Signed-off-by: yike21 <yike21@qq.com>
2023-05-05 21:06:46 +08:00
karmada-bot e7a6f8d177
Merge pull request #3487 from yike21/bundle-fluxcd-Kustomization
add customizations for kustomize.toolkit.fluxcd.io/v1/Kustomization
2023-05-05 17:01:19 +08:00
karmada-bot 0d5c2136fa
Merge pull request #3481 from yike21/bundle-fluxcd-gitrepository
add customizations for source.toolkit.fluxcd.io/v1/GitRepository
2023-05-05 15:50:19 +08:00
karmada-bot dd1bc2a0be
Merge pull request #3486 from yike21/bundle-fluxcd-HelmChart
add customizations for source.toolkit.fluxcd.io/v1beta2/HelmChart
2023-05-05 10:05:19 +08:00
karmada-bot a8480b94a0
Merge pull request #3484 from yike21/bundle-fluxcd-HelmRepository
add customizations for source.toolkit.fluxcd.io/v1beta2/HelmRepository
2023-05-05 09:23:19 +08:00
yike21 22c8a246ea add customizations for source.toolkit.fluxcd.io/v1beta2/HelmRepository
Signed-off-by: yike21 <yike21@qq.com>
2023-05-04 22:42:57 +08:00
xin.li 42926ef1ea fix error example for addons enable
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-05-04 18:13:40 +08:00
karmada-bot faf0d4bbaf
Merge pull request #3488 from yike21/bundle-fluxcd-helmrelease
add customizations for helm.toolkit.fluxcd.io/v2beta1/HelmRelease
2023-05-04 17:37:18 +08:00
karmada-bot 03d1bc23d7
Merge pull request #3475 from chaunceyjiang/graceful
fix: graceful-eviction still works after an unexpected restart of karmada-controller-manager
2023-05-04 10:31:19 +08:00
chaunceyjiang 9592aad85f fix: graceful-eviction still works after an unexpected restart of karmada-controller-manager
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-05-03 20:49:58 +08:00
Balaji Arun f132abfea5 Upgrade kube version
Signed-off-by: Balaji Arun <balajia@vt.edu>
2023-05-02 09:12:09 -07:00
yike21 3363034f77 add customizations for kustomize.toolkit.fluxcd.io/v1/Kustomization
Signed-off-by: yike21 <yike21@qq.com>
2023-05-01 19:24:26 +08:00
yike21 46058ffc48 add customizations for source.toolkit.fluxcd.io/v1beta2/HelmChart
Signed-off-by: yike21 <yike21@qq.com>
2023-05-01 19:14:51 +08:00
yike21 729aa562ae add customizations for source.toolkit.fluxcd.io/v1beta2/Bucket
Signed-off-by: yike21 <yike21@qq.com>
2023-05-01 19:03:09 +08:00
yike21 a8f4aef875 add customizations for source.toolkit.fluxcd.io/v1/GitRepository
Signed-off-by: yike21 <yike21@qq.com>
2023-05-01 18:25:51 +08:00
yike21 2f421eaa4e add customizations for helm.toolkit.fluxcd.io/v2beta1/HelmRelease
Signed-off-by: yike21 <yike21@qq.com>
2023-05-01 15:40:02 +08:00
karmada-bot b841c5493d
Merge pull request #3478 from xigang/fix/search_controller
karmada-search: ResourceRegistry controller can't handle DeletedFinalStateUnknown it gets from controller framework
2023-04-29 10:14:14 +08:00
xigang 929e66f06c Fix: SearchController can't handle DeletedFinalStateUnknown it gets from controller framework
Signed-off-by: xigang <wangxigang2014@gmail.com>
2023-04-28 17:16:13 +08:00
xigang 50d155f72a Fix: cleanup ResourceRegistry controller logs
Signed-off-by: xigang <wangxigang2014@gmail.com>
2023-04-28 11:31:47 +08:00
karmada-bot 185c7502ab
Merge pull request #3469 from Poor12/add-filter
Add a clusterEviction plugin
2023-04-28 10:30:18 +08:00
Poor12 80eab7bcb3 add a clusterEvicted plugin
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-28 09:21:45 +08:00
karmada-bot 6c90cc3162
Merge pull request #3476 from bhavyastar/issue#3260
fix: Chinese to English term
2023-04-27 15:34:12 +08:00
RainbowMango 88a5875cd2 Update auto-generated files
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-04-27 14:33:23 +08:00
Bhavya Sachdeva 8249f6f483 fix: Chinese to English term
Signed-off-by: Bhavya Sachdeva <bhavya.sachdeva.58@gmail.com>
2023-04-27 14:27:30 +08:00
karmada-bot 7adfdfaa15
Merge pull request #3455 from Poor12/fix-generation-inconsistent
Ensure the latest schedulerObservedGeneration if do not need to schedule
2023-04-27 14:13:12 +08:00
Poor12 9ee205fcb1 fix generation inconsistent
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-27 11:26:45 +08:00
karmada-bot ec7b3b14c6
Merge pull request #3381 from XiShanYongYe-Chang/e2e-case-clusteraffinities
flake: [ClusterAffinities] propagation testing
2023-04-27 09:10:12 +08:00
changzhen 467adcf0b6 add worker for cluster update in scheduler
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-04-26 18:29:51 +08:00
huangyanfeng 5b0f71004d Add kubebuilder shortName for work
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-04-26 17:14:25 +08:00
RainbowMango 7f484fd463 Revert "avoid the same cluster appearing in both spec.clusters and spec.gracefulEvictionTasks"
This reverts commit da44a5d9f9.

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-04-26 15:17:27 +08:00
karmada-bot 22fb1d0321
Merge pull request #3283 from Poor12/fix-graceful-eviction
Avoid the same cluster appearing in both spec.clusters and spec.gracefulEvictionTasks
2023-04-26 10:10:11 +08:00
karmada-bot 6d4cb3d8b9
Merge pull request #3456 from jwcesign/fix-1
Correct the issue of adding duplicate eviction tasks
2023-04-26 10:01:11 +08:00
karmada-bot 027d514cab
Merge pull request #3431 from mkloveyy/webhook-comment
Add more detail comments for AggregatedStatus field
2023-04-25 17:18:11 +08:00
jwcesign e1b9e1724a Fix add same eviction tasks multiple times
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-04-25 14:25:06 +08:00
ma_k 5c08aa4787 Add more detail comments for AggregatedStatus field
Signed-off-by: mkloveyy <halfpig0627@163.com>
2023-04-25 13:25:02 +08:00
yike21 cb069867af rename advancedcronjob directory, and fix the retention operation for broadcastjob
Signed-off-by: yike21 <yike21@qq.com>
2023-04-25 10:51:47 +08:00
karmada-bot 27862f77f7
Merge pull request #3442 from chaunceyjiang/AffinityName
fix: affinityName can be set to an empty string
2023-04-25 10:31:10 +08:00
Poor12 da44a5d9f9 avoid the same cluster appearing in both spec.clusters and spec.gracefulEvictionTasks
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-25 10:22:08 +08:00
karmada-bot 2ef01942f1
Merge pull request #3395 from realnumber666/add-unit-test
Add UT for workstatus.go and taint.go and rule.go
2023-04-24 19:56:11 +08:00
Poor12 2c9d900c28 add some fields for GracefulEvictionTask
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-24 14:59:27 +08:00
chaunceyjiang 6fb9329b29 fix: affinityName can be set to an empty string
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-24 12:55:46 +08:00
rayywu 4c66528ae1 Add UT for workstatus.go and taint.go and rule.go
Signed-off-by: rayywu <rayywu@tencent.com>
2023-04-24 00:21:19 +08:00
karmada-bot 38126160c7
Merge pull request #3402 from ikaven1024/proxy
fix paging list in karmada search proxy
2023-04-23 09:15:09 +08:00
karmada-bot b118a73ba1
Merge pull request #3433 from chaunceyjiang/prefix-namespace
feat: allows users to propagate resources under the Kubernetes reserved namespace.
2023-04-21 10:52:07 +08:00
chaunceyjiang 1f42f7f1e5 feat: allows users to propagate resources under the Kubernetes reserved namespace.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-20 19:05:33 +08:00
yingjinhui 89245212c8 fill cluster rv in proxying list
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2023-04-20 18:58:55 +08:00
karmada-bot 7b1ddc9ee1
Merge pull request #3407 from Poor12/webhook-change
Add validation for failover
2023-04-20 17:32:07 +08:00
karmada-bot ed2b101c44
Merge pull request #2999 from ctripcloud/update-resolver
Support Connection to ResourceInterpretWebhook without DNS Service
2023-04-20 16:36:13 +08:00
Poor12 74e030af81 add validation for failover
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-20 14:56:16 +08:00
karmada-bot 2be4b33d01
Merge pull request #3425 from neteric/fix-retainPodFielsIncludeInitContainer
Fix func retainPodFields not include initContainer'volumesMounts bug
2023-04-19 17:33:06 +08:00
karmada-bot 507e66f6c6
Merge pull request #3373 from chaunceyjiang/wildcards
feat: Allows setting wildcards for SkippedPropagatingNamespaces
2023-04-19 17:18:11 +08:00
chaunceyjiang 593264e2c6 Allows setting wildcards for SkippedPropagatingNamespaces
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-19 13:16:06 +08:00
karmada-bot b9ba007913
Merge pull request #3399 from Poor12/binding-api-change
Binding API modification adaptation to implement application failover
2023-04-19 11:26:12 +08:00
Poor12 433ccb0d0f add api to binding
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-18 19:55:47 +08:00
whitewindmills 5bb8eae68f Avoid accidental impact for rb/crb's pointer on the cache
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-18 16:45:53 +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
karmada-bot ea128f9c41
Merge pull request #3411 from xigang/clustercontroller/logs
cleanup:cluster controller log missing clustername
2023-04-18 11:36:05 +08:00
xigang 6aac228706 cleanup: remove unused cluster controller log
Signed-off-by: xigang <wangxigang2014@gmail.com>
2023-04-17 17:23:01 +08:00
chaunceyjiang 77e2157cf8 CommandArgsOverrider supports Job
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-17 14:32:33 +08:00
karmada-bot 4552a19ee9
Merge pull request #3392 from yike21/add-unit-test
add unit test for pkg/resourceinterpreter/default/native/dependencies.go
2023-04-17 11:49:04 +08:00
lxtywypc 71ffbf429a use ClusterIPServiceResolver instead of DefaultServiceResolver to eliminate dependency of DNS
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-04-17 10:42:43 +08:00
karmada-bot ab9404a331
Merge pull request #3368 from yike21/bundle-kruise-resources-cronjob
add customizations for apps.krusie.io/v1alpha1/AdvancedCronJob
2023-04-14 16:49:02 +08:00
yike21 b22cb1ff00 add customizations for apps.krusie.io/v1alpha1/BroadcastJob
Signed-off-by: yike21 <yike21@qq.com>
2023-04-14 15:39:15 +08:00
yike21 9628830a39 add customizations for apps.krusie.io/v1alpha1/AdvancedCronJob
Signed-off-by: yike21 <yike21@qq.com>
2023-04-14 15:33:34 +08:00
yike21 f051591a84 add customizations for apps.krusie.io/v1alpha1/DaemonSet
Signed-off-by: yike21 <yike21@qq.com>
2023-04-14 11:06:08 +08:00
karmada-bot c3d54ccccf
Merge pull request #3352 from yike21/bundle-kruise-resources-statefulset
add customizations for apps.krusie.io/v1beta1/StatefulSet
2023-04-14 11:03:01 +08:00
yike21 0fc88877f3 add customizations for apps.krusie.io/v1beta1/StatefulSet
Signed-off-by: yike21 <yike21@qq.com>
2023-04-14 00:08:41 +08:00
yike21 217657af36 Add customizations for apps.krusie.io/v1alpha1/CloneSet
Signed-off-by: yike21 <yike21@qq.com>
2023-04-13 20:42:25 +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
RainbowMango a381373967 Setup interpreter owners
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-04-13 11:30:39 +08:00
karmada-bot ef774d2863
Merge pull request #3342 from Poor12/add-health-api
Add failover APIs in policy
2023-04-12 18:47:00 +08:00
Poor12 34f481201c add failover apis
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-12 17:30:08 +08:00
chaunceyjiang 6f3afbdbf2 fix: validates predicate path
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-12 13:47:28 +08:00
karmada-bot b273800421
Merge pull request #3376 from niuyueyang1996/fix-object-same-point
karmada-search: fix the problem that ResourceVersion base64 encrypted repeatedly when starting multiple informer to watch resource
2023-04-11 15:24:59 +08:00
karmada-bot 4133d5936a
Merge pull request #2768 from chaunceyjiang/predefinedConfigurableInterpreter
feat: predefined configurableInterpreter
2023-04-11 10:50:58 +08:00
niuyueyang daeac005d8 if start many watcher to watch pod.
pod resourceVersion will base64 duplicate.
soo deepCopy event.

Signed-off-by: niuyueyang <719415781@qq.com>
2023-04-10 20:01:11 +08:00
karmada-bot 0b640f7785
Merge pull request #3371 from Poor12/fix-scheduler-duplicated
Unify the assign replicas when duplicated
2023-04-10 19:27:58 +08:00
karmada-bot 9b4c9a8222
Merge pull request #3364 from whitewindmills/patch-util
use patch helper instead of jsonpatch
2023-04-10 19:10:58 +08:00
chaunceyjiang 538d8f10e0 Add a third-party configurable interpreter for some well-known third-party projects.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-10 15:21:51 +08:00
karmada-bot a7ae11c73d
Merge pull request #3123 from WulixuanS/fix/genericmanager
Avoid multiple executions after rlock in concurrent scenarios
2023-04-10 13:59:58 +08:00
karmada-bot 45fcc38535
Merge pull request #3315 from helen-frank/feature/parseSingle
parseSingle: add test
2023-04-10 10:59:58 +08:00
helen 94a78f9ab0 parseSingle add test
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-04-10 09:56:34 +08:00
karmada-bot 115d06eeee
Merge pull request #3357 from whitewindmills/sc-validation
fix that multiple same spread constraints are allowed
2023-04-08 09:01:55 +08:00
Poor12 b61a87e7cc unify the assign replicas when duplicated
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-07 09:28:44 +08:00
karmada-bot 7589eaec60
Merge pull request #3321 from Poor12/fix-duplicated
Do not revise replicas when strategy is duplicated
2023-04-07 08:11:55 +08:00
karmada-bot 31b5088baf
Merge pull request #3326 from my-git9/feat/ignorens
feat: add --purge-namespace flags for `karmadactl deinit`, and default not delete namespace
2023-04-06 20:07:55 +08:00
whitewindmills b15e43251b use patch helper instead of jsonpatch
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-06 16:04:58 +08:00
Poor12 75c638ddc1 do not revise replicas when duplicated
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-06 15:05:45 +08:00
wulixuan 8c63c146a4 Avoid multiple executions after rlock in concurrent scenarios
Signed-off-by: wulixuan <wulixuan@bilibili.com>
2023-04-06 13:49:04 +08:00
karmada-bot 13ecfa5f46
Merge pull request #3345 from my-git9/feat/hub
Support specify global image registry for enable addons
2023-04-06 09:52:55 +08:00
xin.li fe6febba0d feat: add --purge-namespace flags for karmada deinit
`karmada deinit` default not delete namespace

Signed-off-by: xin.li <xin.li@daocloud.io>
2023-04-04 23:58:05 +08:00
changzhen 1d0e6ced65 fix an issue where DeepEqual becomes invalid in aggregate binding status
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-04-04 16:32:16 +08:00
karmada-bot cbf5c4a829
Merge pull request #3346 from Poor12/do-not-reschedule
[Performance] Do not schedule when status/metadata of binding update
2023-04-04 11:11:53 +08:00
karmada-bot 8bec671e21
Merge pull request #3339 from yike21/bundle-kruise-resources-1
Add a function getPodDependencies for InterpretDependency operation
2023-04-04 10:55:53 +08:00
karmada-bot 949d5893a4
Merge pull request #3350 from realnumber666/add-unit-test
Add UT for deploy.go
2023-04-04 10:12:53 +08:00
xin.li 8adc86e7e4 feat: support specify global image registry for addons
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-04-04 09:44:47 +08:00
Poor12 8d9538b9c9 do not scheudle when status/metadata change
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-03 19:35:42 +08:00
rayywu 4335107894 Add UT for deploy.go and cluster_condition_cache.go
Signed-off-by: rayywu <rayywu@tencent.com>
2023-04-03 17:25:33 +08:00
whitewindmills 9a408ab3d9 fix that multiple same spread constraints are allowed
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-02 22:52:24 +08:00
whitewindmills 26c787531e add placement helper
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-01 16:45:57 +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
wenche e98599504f Fixed the control plane endpointslice cannot be deleted.
Signed-off-by: wenche <wenchuan.zhao@qq.com>
2023-03-31 13:55:55 +08:00
karmada-bot 5194e1761a
Merge pull request #3259 from whitewindmills/spreadconstraints
region selection algorithm optimization
2023-03-30 19:04:49 +08:00
whitewindmills ed2fcea68d add group selection algorithm
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-03-30 17:01:23 +08:00
karmada-bot a44633eebe
Merge pull request #3292 from tedli/master
Add arg to specify cluster domain
2023-03-30 16:04:49 +08:00
lizhen6 06adeb96dc customizable cluster domain
Signed-off-by: lizhen6 <lizhen6@360.cn>
2023-03-30 14:03:54 +08:00