Commit Graph

359 Commits

Author SHA1 Message Date
changzhen d711b72f45 tidy up lifted file
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-15 10:42:32 +08:00
AllenZMC 3c61c61105 reduce unnecessary code operations in some cases and improve test coverage
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-09 23:09:59 +08:00
karmada-bot df072cf238
Merge pull request #1458 from chinmaym07/prevent-network-api
Prevented network api from propagating
2022-03-09 14:53:21 +08:00
chinmaym07 48ffb41720 Prevented network api from propagating
Signed-off-by: chinmaym07 <b418020@iiit-bh.ac.in>
2022-03-09 02:17:25 +05:30
karmada-bot 8d460a1bd9
Merge pull request #1446 from RainbowMango/pr_cleanup_ratelimiter
chore: cleanup ratelimiter flags
2022-03-09 02:34:20 +08:00
RainbowMango 8a402f8e94 chore: cleanup ratelimiter flags
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-08 08:57:01 +08:00
AllenZMC e21c848e80 improve test coverage
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>

improve test coverage

Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-07 13:09:24 +08:00
AllenZMC f35838a5ce remove redundant code and improve test coverage
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-03 18:37:25 +08:00
karmada-bot f3b1142599
Merge pull request #1399 from pigletfly/add-ratelimiter-flags
Introduce ratelimiter flags
2022-03-03 17:25:13 +08:00
pigletfly 9e28d6c6e8 add ratelimiter flags
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-03-03 16:09:39 +08:00
karmada-bot fe8500bfc9
Merge pull request #1306 from zgfh/fix/karmada-join
fix:  karmada join failed when secret exist
2022-03-02 14:45:13 +08:00
changzhen fdc2fdb370 eliminate duplicate getworks function
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-01 09:52:51 +08:00
changzhen b457a3b2e5 add federatedResourceQuota sync controller
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-02-28 16:13:14 +08:00
AllenZMC bc3add201d improve test
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-02-27 21:10:54 +08:00
lihanbo 4569663b40 adapt for propagating dependencies
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-02-26 15:49:06 +08:00
Garrybest 85d8a6ccf4 add karmada-descheduler
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-24 11:43:28 +08:00
karmada-bot 670a77aead
Merge pull request #1380 from Garrybest/pr_estimator
Descheduler: Implement GetUnschedulableReplicas for estimator
2022-02-23 14:54:04 +08:00
Garrybest 90900309ca implement GetUnschedulableReplicas for estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-23 14:19:51 +08:00
Garrybest 0777cf064c clean up GetObjectFromCache
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-23 14:19:38 +08:00
karmada-bot 0c043f636f
Merge pull request #1332 from XiShanYongYe-Chang/mci
add MultiClusterIngress API for MCI feature
2022-02-23 09:11:04 +08:00
Garrybest 728ef531e0 fix bugs of resource computing
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-22 16:30:24 +08:00
changzhen 54762a28b3 add networking v1alpha1 schemes to gclient
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-02-21 15:25:06 +08:00
pigletfly eef56c31d2 Fix add retry on createorupdate
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-02-11 14:30:36 +08:00
pigletfly c996f6bd5b Add retry on CreateOrUpdateWork
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-02-09 17:00:56 +08:00
Alan Zhu 44299055e0 fix: karmada join fail when secret exist
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-01-24 20:13:37 +08:00
wlp1153468871 c570006603 Update first in RetryOnConflict
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-01-24 18:55:38 +08:00
karmada-bot e2c7d90aa0
Merge pull request #1298 from pigletfly/fix-log
Fix ignore log error when error is isnotfound
2022-01-21 16:41:25 +08:00
pigletfly b3c31f2fad Fix ignore log error when error is isnotfound
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-01-21 16:08:01 +08:00
karmada-bot abc767bfcd
Merge pull request #1277 from iawia002/unstructured
Clean up the code that converts Unstructured objects
2022-01-20 10:09:25 +08:00
Xinzhao Xu 501f68aea4 Clean up the code that converts Unstructured objects
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2022-01-19 10:28:30 +08:00
changzhen fc7616e234 update HookEnabled interface with resourceinterpreter
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-01-19 09:27:15 +08:00
karmada-bot 0d98cc368d
Merge pull request #1253 from iawia002/aggregate-status-hook
Implementing the AggregateStatus hook
2022-01-19 08:56:24 +08:00
Xinzhao Xu 2f55e6c583 Implementing the AggregateStatus hook
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2022-01-18 20:35:26 +08:00
pigletfly 44496e904c Add kind in log
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-01-18 19:23:42 +08:00
carlory f697c03c74 add validation for cluster api and remove cluster validating webhook
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-01-14 12:08:43 +08:00
RainbowMango 990bf25072 mark override policy spec.targetCluster and spec.overriders deprecated
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-01-11 19:24:30 +08:00
helenfrank 43036a9670 Replace all the retry.DefaultBackoff with retry.DefaultRetry from codebase
Signed-off-by: helenfrank <helenfrank@protonmail.com>
2022-01-11 10:28:59 +08:00
Garrybest ae3eaaee5b fix bug of resource computing
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-08 12:03:49 +08:00
changzhen 9833a814a4 create or update cluster and create impersonation secret for pull cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-27 21:07:00 +08:00
changzhen bc377033e3 upgrade scenario for pull mod cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-27 12:22:08 +08:00
Xinzhao Xu a895c38005 Implementing the ReviseReplica hook
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-24 16:02:25 +08:00
lihanbo 280028d1a1 fix the name of impersonate service account
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-24 14:02:03 +08:00
lihanbo beb4dd7581 add unified auth controller
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-23 19:46:39 +08:00
Garrybest 9b3b5789f0 fix division bugs when pod request zero scalar resource
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-12-23 16:07:05 +08:00
Xinzhao Xu 5b3c9245b8 Add unittest for getOverridersFromOverridePolicies
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-21 10:37:34 +08:00
Xinzhao Xu 9a0c78757a Refactor the matching method in overridemanager
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-21 10:37:14 +08:00
karmada-bot 5eefcd6a49
Merge pull request #1053 from mrlihanbo/delete-work-bugfix
abort deleting workload when the member cluster is unready
2021-12-20 17:07:27 +08:00
karmada-bot a916dda8d2
Merge pull request #1107 from Shike-Ada/pr-commit
update kube-apiserver and kube-controller-manager default version
2021-12-20 09:41:26 +08:00
karmada-bot c69e955bfb
Merge pull request #1124 from lonelyCZ/override-validating
Implementing karmada-webhook of validating OverridePolicy
2021-12-20 09:07:26 +08:00
lihanbo 5290f07345 abort deleting workload when the member cluster is unready
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-19 14:29:12 +08:00