Commit Graph

702 Commits

Author SHA1 Message Date
chaunceyjiang c3f5eaa3f7 fix failed to apply Label/Annotation Overriders
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-12-16 18:34:33 +08:00
RainbowMango 14423bf5d8 Introduce generic hashset to simplify code
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-12-14 15:49:45 +08:00
karmada-bot 0131bffaae
Merge pull request #2879 from carlory/validate
move validation funcs into util/validation
2022-12-14 10:10:23 +08:00
karmada-bot 1541db26d5
Merge pull request #2919 from Poor12/improve-auto-generate-pp
Replace colon with point in the rbac resource name
2022-12-09 11:33:19 +08:00
karmada-bot 5f673cbde8
Merge pull request #2918 from qingwave/unstructured-ut
[UT] Add unstructed helper uinttest
2022-12-08 18:00:18 +08:00
qingwave e171c4cac6 add unstruucted helper uinttest
Signed-off-by: qingwave <isguory@gmail.com>
2022-12-08 08:37:03 +00:00
Poor12 cfacfb2f10 replace colon with point in the rbac resource name
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-12-08 11:59:08 +08:00
huangyanfeng 1e1506332e generate PolicyRules from given subjects for impersonation deduplicate
Signed-off-by: huangyanfeng <huangyanfeng@cestc.com>

generate PolicyRules add ut case for check deduplicate

Signed-off-by: huangyanfeng <huangyanfeng@cestc.com>

import format

Signed-off-by: huangyanfeng <huangyanfeng@cestc.com>
2022-12-08 10:31:37 +08:00
karmada-bot 69bd4ece52
Merge pull request #2883 from ikaven1024/pr-pool-metric
add metrics for pool
2022-12-06 11:29:16 +08:00
karmada-bot 9784ed3a5d
Merge pull request #2609 from chaunceyjiang/implicit
add implicit priority for OP and COP
2022-12-06 10:34:16 +08:00
yingjinhui 45d85bb46c add metrics for pool
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-05 20:34:23 +08:00
chen zechun 7b64cc5e4e Correct the typos
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-05 18:27:28 +08:00
karmada-bot 2224d1e700
Merge pull request #2882 from Zhuzhenghao/registry.k8s.io
Move to registry.k8s.io
2022-12-01 15:08:03 +08:00
karmada-bot 464270f7c2
Merge pull request #2845 from Garrybest/pr_division
refactor static weight strategy
2022-12-01 10:41:15 +08:00
zhuzhenghao 915b1857c9 Move to registry.k8s.io
Signed-off-by: zhuzhenghao <zhenghao.zhu@daocloud.io>
2022-11-29 18:55:22 +08:00
chaunceyjiang 200a58768e add implicit priority for OP and COP
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-11-29 11:26:24 +08:00
carlory 1b33ef882b move validation funcs into util/validation
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-11-29 10:30:17 +08:00
karmada-bot 3f21fc1ab4
Merge pull request #2755 from chaunceyjiang/resourceInterpreter
Implement ResourceInterpreterCustomization ValidatingAdmission
2022-11-28 20:42:17 +08:00
chaunceyjiang 0c16431a51 Implement ResourceInterpreterCustomization ValidatingAdmission
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-11-28 18:30:43 +08:00
karmada-bot d7b3a1cad4
Merge pull request #2864 from ikaven1024/pr-luavm
improve lua vm executing with pool
2022-11-28 18:07:10 +08:00
karmada-bot c416581aa9
Merge pull request #2835 from Poor12/add-event-for-gracefuleviction
Add events for graceful eviction controller
2022-11-28 17:59:10 +08:00
yingjinhui 47e7e8da8d improve lua vm executing with pool
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-11-28 15:45:12 +08:00
Poor12 e988f75fb0 add events for graceful eviction controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-26 10:27:10 +08:00
karmada-bot 63a67d7cbd
Merge pull request #2825 from jwcesign/code-review-fix
Add more logs and delete some redundant code
2022-11-24 14:28:07 +08:00
RainbowMango f8646f5d91 Update Golang version from v1.18.3 to v1.19.3
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-23 19:47:12 +08:00
jwcesign 2c3141980e Add more logs and delete some redundant code
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-23 16:12:13 +08:00
Garrybest 8d9780f838 refactor static weight strategy
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-11-22 15:28:04 +08:00
cleverhu e1e1616197 unify namespace and name style
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
2022-11-19 23:42:01 +08:00
karmada-bot d46db85ba4
Merge pull request #2607 from my-git9/metricstest3
add ut for util/metrics
2022-11-19 15:49:02 +08:00
xin.li fc346e8c51 add ut for util/metrics and remove unused function
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-11-19 10:38:28 +08:00
Poor12 5418b5d265 refactor events
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-15 15:34:22 +08:00
karmada-bot bc7b298c40
Merge pull request #2761 from ikaven1024/pr-mem-clientset
refactor util.BuildClusterConfig
2022-11-14 09:42:57 +08:00
changzhen 5a767f4f21 allow to update the resourceSelector of PropagationPolicy/ClusterPropagationPolicy
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-09 16:40:57 +08:00
Poor12 ac6aaa31f1 add override policy event
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-09 10:25:23 +08:00
yingjinhui 2d6f491c61 refactor util.BuildClusterConfig
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-11-09 00:26:19 +08:00
zhangyukun d4e5f04791 Resource Interpreter framework introduce Lua runtime layer
Signed-off-by: zhangyukun <38148677+jameszhangyukun@users.noreply.github.com>
2022-11-08 09:17:33 +08:00
karmada-bot f32741e13f
Merge pull request #2724 from lonelyCZ/pr-karmadactl-util-idempotency
Fix and unify `CreateOrUpdateXXX` functions for karmadactl
2022-11-02 11:32:25 +08:00
lonelyCZ 0b535a4d12 Fix and unify CreateOrUpdateXXX functions for karmadactl
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-01 20:50:33 +08:00
karmada-bot 9595e5f78e
Merge pull request #2706 from ikaven1024/ut-cache-mcs
[ut] add ut for cache.go, mcs.go, and improve DeleteEndpointSlice
2022-11-01 17:36:25 +08:00
karmada-bot 8d5f56b8b3
Merge pull request #2716 from chaunceyjiang/ut
Add UT for imageoverride
2022-11-01 17:04:43 +08:00
yingjinhui 07df5bcac5 [ut] add ut for cache.go, mcs.go
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-11-01 16:03:14 +08:00
karmada-bot f68da6d64e
Merge pull request #2715 from ikaven1024/pr-cleanup-proxy
clean up proxy repeating code
2022-11-01 11:53:43 +08:00
chaunceyjiang 50ec86b796 Add UT for imageoverride
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-11-01 11:30:08 +08:00
karmada-bot ee850b110d
Merge pull request #2700 from ikaven1024/ut-resource
add ut for resource.go
2022-11-01 09:57:44 +08:00
karmada-bot 3fc113e1a4
Merge pull request #2709 from ikaven1024/ut-predicate
improve predicate.go
2022-11-01 09:49:25 +08:00
yingjinhui 8e0ceb72ec [ut]] add ut for resource.go
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-31 22:13:32 +08:00
yingjinhui 38b5eabb4a clean up proxy repeating code
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-31 21:35:52 +08:00
karmada-bot bd8d734054
Merge pull request #2678 from cmicat/feature/proxy-connector-framework
Add Proxy Framework
2022-10-31 15:55:24 +08:00
karmada-bot aae442f065
Merge pull request #2704 from Garrybest/pr_estimator
leverage scheduler cache to estimate replicas
2022-10-31 15:48:46 +08:00
raymondmiaochaoyue 7e24783b36 Add proxy framework.
Signed-off-by: raymondmiaochaoyue <raymondmiaochaoyue@didiglobal.com>
2022-10-31 14:50:15 +08:00
karmada-bot 12ed020443
Merge pull request #2705 from ikaven1024/ut-binding
[ut] add ut for binding.go
2022-10-31 11:53:23 +08:00
yingjinhui d776fd9d33 [ut] add ut for binding.go
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-31 10:55:00 +08:00
Garrybest a0b7ba5d1d leverage scheduler cache to estimate replicas
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-10-30 22:45:16 +08:00
Garrybest f52043b447 add lifted files
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-10-30 22:45:16 +08:00
yingjinhui 331ac98671 [ut] add ut for predicate.go
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-29 23:28:03 +08:00
yingjinhui 68e24a2f4e [ut] add ut for cluster.go, clusterlease.go, membercluster_client.go
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-29 22:07:38 +08:00
karmada-bot c5e290c01d
Merge pull request #2669 from ikaven1024/ut-resources
[ut] add ut for pkg/util/clusterrole, rbac, sercret,  secret, serviceaccount
2022-10-27 11:38:21 +08:00
yingjinhui ee73db8b6c [ut] add ut for secret.go, serviceaccount.go, rbac.go
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-27 10:46:23 +08:00
raymondmiaochaoyue 446ea00707 test worker.go
Signed-off-by: raymondmiaochaoyue <raymondmiaochaoyue@didiglobal.com>
2022-10-26 12:34:09 +08:00
yingjinhui c024594b02 [ut] add ut for pkg/util/selector.go
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-10-22 11:22:05 +08:00
karmada-bot 0debe0919c
Merge pull request #2660 from Poor12/add-ut-for-helper
[UT]Add ut for job.go and policy.go
2022-10-20 17:49:32 +08:00
Poor12 138d9eac5f add ut for job.go and policy.go
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-20 16:14:58 +08:00
Poor12 1414d7b9ba add gen-docs
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-20 15:35:46 +08:00
carlory 23b52270da karmada scheduler & descheduler introduce scheduler-estimator-service-prefix flag
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-10-12 13:53:25 +08:00
karmada-bot 362f77ad13
Merge pull request #2578 from Poor12/fix-sa
Fix serviceaccount continual regeneration by service account controller
2022-10-12 10:55:07 +08:00
Poor12 def9933fcf fix serviceaccount continual regeneration by service account controller in member clusters
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-12 10:01:49 +08:00
karmada-bot b9287479c5
Merge pull request #2606 from my-git9/conversion_test
add ut function for util/name.go
2022-10-11 21:10:07 +08:00
xin.li d89d92fa5b add ut function for util/name.go
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-10-11 19:59:36 +08:00
karmada-bot eceba6480a
Merge pull request #2584 from chaunceyjiang/overriders
introduce overriders for annotation and label
2022-10-11 09:05:24 +08:00
chaunceyjiang 8bcfd7810b introduce overriders for annotation and label
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-10-10 22:15:14 +08:00
karmada-bot 933e725940
Merge pull request #2602 from helen-frank/fix/runtimeMust
gclient handling programmer level errors
2022-10-10 19:18:06 +08:00
Poor12 746d0fd915 add ut for override.go
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-08 15:30:52 +08:00
Garrybest 4a657b5872 introduce type ImplicitPriority to represent the priority.
Signed-off-by: Garrybest <garrybest@foxmail.com>
Co-authored-by: RainbowMango <qdurenhongcai@gmail.com>
2022-09-30 14:48:05 +08:00
Garrybest 9bd626b3cc add implicit priority for PP and CPP
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-09-30 14:48:05 +08:00
helen 77a6f15994 gclient handling programmer level errors
Signed-off-by: helen <helenfrank@protonmail.com>
2022-09-30 11:08:31 +08:00
Poor12 d0f76e1070 add ut for lifted codes
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-09-29 10:55:54 +08:00
lixingchenDaoCloud 1bf4fb8a86 Remove redundant type conversions
Signed-off-by: lixingchenDaoCloud <captainchina_li@163.com>
2022-09-28 23:25:59 +08:00
changzhen 5ee9f6776e fix 2392: replace colon with point in the rbac resource name
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-09-26 10:10:56 +08:00
Garrybest 92d8c69d46 stop publish duplicated event
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-09-23 10:43:59 +08:00
changzhen 9387ab3fe7 Use Cluster secret ref namespace in unified-auth-controller when generate ClusterRoleBinding
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-09-16 15:23:56 +08:00
Poor12 133db50754 fix pod lister only list a pod
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-09-09 09:27:33 +08:00
Poor12 2e3e816ba2 Use transform func to save memory when large cluster
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-30 19:21:09 +08:00
karmada-bot 23ec2afa8b
Merge pull request #2410 from XiShanYongYe-Chang/reflect-work-health-status
Reflect health status for recording the healthy state of the current resource
2022-08-24 18:16:53 +08:00
changzhen afca732825 reflect health status for recording the healthy state of the current resource running in the member cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-24 17:27:56 +08:00
lonelyCZ 4b4ca14345 Implement karmadactl register for joining clusters with PULL mode
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-23 15:41:48 +08:00
lonelyCZ fbc9599510 Implement karmadactl token command to manage bootstrap tokens
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-23 11:31:00 +08:00
karmada-bot a82c427509
Merge pull request #2395 from yusank/bugfix/sync-crb-status
fix: sync cluster level resource status
2022-08-22 11:48:50 +08:00
yusank d1617303a4 feat: sync cluster level resource status #2394
Signed-off-by: yusank <yusankurban@gmail.com>
2022-08-22 10:16:53 +08:00
karmada-bot 674641c1fa
Merge pull request #2369 from yy158775/id_join
avoid joining the same cluster repeatedly
2022-08-19 14:28:46 +08:00
karmada-bot dd7d70ae6f
Merge pull request #2366 from ikaven1024/feature-proxy
add proxy skeleton
2022-08-18 08:46:45 +08:00
yingjinhui dd1b6e2967 add proxy skeleton
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-08-17 18:55:06 +08:00
yy158775 23dd9cadcb solve cluster id repeat to join
Signed-off-by: yy158775 <1584616775@qq.com>
2022-08-17 12:05:40 +08:00
karmada-bot 4dbe338d18
Merge pull request #2377 from Poor12/master
Rename package name of typedmanager
2022-08-15 12:16:41 +08:00
Poor12 1374169fe3 Rename package name of typedmanager
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-15 11:26:30 +08:00
AllenZMC 53550a825c improve ut for taint
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-08-14 23:49:15 +08:00
karmada-bot 66af6ef502
Merge pull request #2313 from yy158775/unique_id
add ID the unique identifier for push and pull mode's cluster
2022-08-12 14:57:10 +08:00
karmada-bot 2197159032
Merge pull request #2355 from AllenZMC/improve_binding
add ut for binding
2022-08-12 14:12:10 +08:00
yy158775 474933826b add ID the unique identifier for push and pull mode's cluster
Signed-off-by: yy158775 <1584616775@qq.com>
2022-08-12 09:37:50 +08:00
karmada-bot f0379682a2
Merge pull request #2356 from AllenZMC/improve_taint
add ut for taint
2022-08-12 09:20:10 +08:00
AllenZMC e679b63a28 add ut for binding
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-08-10 11:10:18 +08:00
Poor12 e528657382 add typed shared informer
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-10 10:39:58 +08:00
AllenZMC 3eeb57e238 add ut for taint
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-08-09 22:26:24 +08:00
RainbowMango 8461e4fb8c rename and re-organize the informermanager
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-09 17:24:23 +08:00
karmada-bot fcc994adc0
Merge pull request #2339 from XiShanYongYe-Chang/grace-eviction-binding-controller
Make changes to binding-controller to adopt graceful eviction
2022-08-06 11:23:07 +08:00
changzhen b6c7320f70 make changes to binding-controller to adopt graceful eviction
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-05 16:43:47 +08:00
karmada-bot bbb5e2949e
Merge pull request #2328 from nuclearwu/master
fix karmada-agent can not ensure default namespace issue
2022-08-05 16:38:06 +08:00
wuzhongjian 161c16de24 Fix 'namespace karmada-cluster not found' when cluster is being registered with 'pull' mode
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com>
2022-08-05 13:52:37 +08:00
RainbowMango 286805c239 patch resourcebinding instead of update and update observed generation.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-05 09:17:01 +08:00
karmada-bot 54752ed626
Merge pull request #2324 from duanmengkk/feature_retain
Put Lease to default SkippedResourceConfig
2022-08-04 18:09:01 +08:00
changzhen 2457cee11c update import-aliases
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-04 15:47:25 +08:00
duanmeng 8e0a4ca5f2 Put Lease to default SkippedResourceConfig
Signed-off-by: duanmeng <duanmengng_yewu@cmss.chinamobile.com>
2022-08-04 14:58:43 +08:00
karmada-bot 7097347d86
Merge pull request #2311 from weilaaa/optimize_unstructured_convert_methods
optimize unstructured convert methods
2022-08-04 14:16:01 +08:00
weilaaa 4ed701069d optimize unstructured convert methods
Signed-off-by: weilaaa <weilanidaye@gmail.com>
2022-08-04 11:38:25 +08:00
karmada-bot 99b87bad79
Merge pull request #2284 from Garrybest/pr_toleration
add default tolerations for pp and cpp
2022-08-02 18:10:58 +08:00
Garrybest c5b35bd199 add default tolerations for pp and cpp
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-08-02 17:20:25 +08:00
karmada-bot bda97036c7
Merge pull request #2134 from wuyingjun-lucky/karmada_addon
Add karmadactl addons subcommand
2022-08-02 16:02:58 +08:00
AllenZMC 915afb5947 Optimize code to reduce redundancy
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-08-02 09:01:24 +08:00
RainbowMango dcbf8d2b96 Introduce RemoveCluster for ResourceBinding and ClusterResourceBinding
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-07-27 17:21:41 +08:00
wuyingjun 98ef6281a6 Support Karmada addon commands
Co-authored-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-07-27 00:58:01 +08:00
dddddai 5743cebab0 make sure to update resource status
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-07-26 11:18:31 +08:00
karmada-bot df125af3b0
Merge pull request #2187 from yy158775/learn
Add a New Type cachedRESTMapper
2022-07-21 10:37:45 +08:00
yangyong 155e5ed424 feat:add new type cachedRESTMapper to optimize GetGroupVersionResource
Signed-off-by: yy158775 <1584616775@qq.com>
2022-07-20 14:47:53 +08:00
karmada-bot e9730e2c55
Merge pull request #2214 from carlory/fix-error-test
use the existing utilerrors.AggregateGoroutines func to collect each cluster's replicas concurrently
2022-07-19 20:13:44 +08:00
carlory aca3965545 use the existing utilerrors.AggregateGoroutines func to collect each cluster's replicas concurrently
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-19 10:23:01 +08:00
karmada-bot d626fcc7cf
Merge pull request #1945 from Garrybest/pr_taint
add NoExecute taint manager
2022-07-18 16:26:43 +08:00
z50023861 e25b7bea56 add ut for pkg/utils/namespace
Signed-off-by: z50023861 <zhuwentao15@huawei.com>
2022-07-16 19:30:50 +08:00
Garrybest 1d2028b10f add taint manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-07-15 10:42:38 +08:00
carlory 0bf9750533 remove unused lifted codes
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-13 22:09:03 +08:00
karmada-bot 821a18542e
Merge pull request #1990 from CharlesQQ/cluster-pull-secret
feat: agent report secret
2022-07-08 10:56:31 +08:00
calvin0327 532b22f80d cleanup federated resource quota
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
2022-07-08 09:55:22 +08:00
charlesQQ 8738617ad0 feat: agent report secret
Signed-off-by: charlesQQ <charles_ali@qq.com>
2022-07-07 14:26:07 +08:00
AllenZMC 1966ff634b Fix comment: `checking if scheduler has a replica assigned to each cluster`
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-07-05 16:16:16 +08:00
karmada-bot 67a4d86cb4
Merge pull request #2086 from chaunceyjiang/issue_2071
fix binding reference key hash collision
2022-07-04 10:34:26 +08:00
chaunceyjiang 5350072889 fix binding reference key hash collision
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-07-04 09:42:51 +08:00
chaunceyjiang 6ffe6f0967 sync status of pvc
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-07-01 10:59:02 +08:00
AllenZMC 286026b3bf improve test coverage for validation
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-06-28 22:17:33 +08:00
changzhen 2e91ff1662 return err when create resource failed
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-06-28 16:28:14 +08:00
karmada-bot 7e8c841f73
Merge pull request #1972 from zgfh/fix-sa
bugfix: support  join 1.24 k8s: auto create secret when sa not create
2022-06-27 20:01:21 +08:00
karmada-bot a2bcb1acd4
Merge pull request #1822 from duanmengkk/feature_servicepromotefix
fixed a bug that the service could not be promoted and e2e test
2022-06-27 19:17:19 +08:00
karmada-bot 578961ea11
Merge pull request #2061 from ikaven1024/pr-lifted
add lifted doc
2022-06-26 19:22:19 +08:00
yingjinhui 085ecd4d14 add lifted doc
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-06-25 15:42:27 +08:00
chaunceyjiang 21cb9839a5 Add a CronJob to the default dependencinterpreter
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-06-25 14:31:12 +08:00
Alan Zhu 53a7fce680
auto create secret when sa not create
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-06-22 08:28:08 +08:00
duanmeng 0ea0f6f1cb fixed a bug that the service could not be promoted and e2e test
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-06-16 21:56:01 +08:00
Garrybest 3ad6f31a7b fix bugs of aggregating job status
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-06-10 17:47:00 +08:00
karmada-bot 6ae45f8618
Merge pull request #1902 from hanweisen/addevent
add syncEvent from execution_controller to resource
2022-06-10 10:42:01 +08:00
hanweisen f43f67367c add syncEvent from execution_controller to resource
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-06-10 09:58:07 +08:00
karmada-bot 3791cd5815
Merge pull request #1824 from wuyingjun-lucky/promote_bug
Fix promoting failed if a resource with other kind used same name has promoted before
2022-06-08 11:54:58 +08:00
wuyingjun 667e0ee9d5 fix promoting failed if a resource with other kind used same name has promoted before
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-06-04 21:10:55 +08:00
lonelyCZ bc45915bf3 Add karmada-search API documents
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-28 17:23:37 +08:00
AllenZMC 9d07030f11 Clear confusing comments
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-05-20 00:18:51 +08:00
karmada-bot d79d2bf802
Merge pull request #1806 from chaunceyjiang/issue_1797
fix when the type of svc is nodeport. resourcebindings FULLYAPPLIED field is False
2022-05-18 14:33:47 +08:00
karmada-bot 5199979588
Merge pull request #1799 from huone1/spreadconstraint-admission
optimize the validating webhook for spreadconstraint
2022-05-18 11:06:46 +08:00
huone1 d969e0c6bc optimize the validating webhook for spreadconstraint
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-05-18 10:58:41 +08:00
Garrybest 967fa8d18a add cluster lifecycle management test
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-05-17 21:51:22 +08:00
Garrybest 7107e3934f enhance cluster lifecycle management
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-05-17 21:17:42 +08:00
chaunceyjiang 52a3c46218 fix when the type of svc is nodeport. resourcebindings FULLYAPPLIED field is False
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-05-17 15:26:18 +08:00
karmada-bot df60b85ff3
Merge pull request #1682 from ikaven1024/pr-lifted
add update-lifted and verify-lifted
2022-05-12 11:51:42 +08:00
yingjinhui 568a22a79e add update-lifted and verify-lifted
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-05-12 10:43:35 +08:00
karmada-bot 977725d479
Merge pull request #1706 from likakuli/feature_fixemptyselectorerr
fix empty resource selectors which result to policy will not be consi…
2022-05-10 17:03:31 +08:00
karmada-bot 810048fe89
Merge pull request #1670 from XiShanYongYe-Chang/update-work-contains
Update judge work contains serviceExport with .spec.workload.manifests
2022-05-07 10:44:27 +08:00
likakuli 56dfba331b fix empty resource selectors which result to policy will not be considered matched
Signed-off-by: likakuli <1154584512@qq.com>
2022-05-01 17:09:36 +08:00
changzhen 695c29fe61 add e2e for ingressStatus collection
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-28 11:55:57 +08:00
karmada-bot fb30db012d
Merge pull request #1668 from XiShanYongYe-Chang/sort-aggregatedStatus-by-clustername
Sort the aggregatedStatus in rb/crb by the clusterName
2022-04-27 14:32:15 +08:00
changzhen 43fde63b4d update judge work contains serviceExport with work.spec.workload.manifests
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-26 20:43:06 +08:00
changzhen 86072e1dbd sort the aggregatedStatus in rb/crb by the clusterName
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-26 19:40:14 +08:00
AllenZMC 0ce25cb82b add ut for discovery
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-26 17:07:32 +08:00
karmada-bot f4ddd15b61
Merge pull request #1633 from XiShanYongYe-Chang/work-status-grab
Add ReflectStatus ResourceInterperter interface to grab workload status
2022-04-25 17:37:12 +08:00
lonelyCZ 4d0186b815 Add lifted information for logs.go
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-25 15:10:25 +08:00
changzhen 0454944b63 add default reflectstatus implemetation
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-24 16:32:03 +08:00
changzhen 0b985f4463 add default reflectstatus implementation with deployment kind
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-24 11:19:42 +08:00
lonelyCZ a52bfca0b8 Add logs function to karmadactl
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-22 13:52:12 +08:00
karmada-bot a3c334c3b1
Merge pull request #1637 from AllenZMC/improve_test
add ut for rules
2022-04-22 11:41:07 +08:00
changzhen c1c9ef8904 update lifted doc
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-22 09:43:59 +08:00
AllenZMC 48029b7fb7 add ut for rules
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-21 22:54:25 +08:00
karmada-bot 28a6c2c767
Merge pull request #1620 from XiShanYongYe-Chang/fix-timeout-with-cluster-proxy
[AA] fix timeout when request of `-w` or `logs -f` flags with cluster/proxy
2022-04-21 12:45:06 +08:00
changzhen 1efbeb6d79 fix timeout when request of -w or logs -f with cluster/proxy
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-20 21:01:57 +08:00
karmada-bot 73e24c2ac5
Merge pull request #1622 from stingshen/stingshen/nil_cluster_secret
check if cluster secretRef is nil before using it
2022-04-20 09:11:07 +08:00
stingshen 3eada92e03 check if cluster secretRef is nil before using it
Signed-off-by: stingshen <stingshen@126.com>
2022-04-19 19:31:40 +08:00
AllenZMC 2d1bb23b9d improve test coverage for validation
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-19 10:44:30 +08:00
AllenZMC 81bb528494 add ut for condition
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-14 20:56:38 +08:00
Garrybest 5e9d5d79bb add parallelism in estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-03-30 20:30:41 +08:00
AllenZMC e0eae7c52d add ut for node helper
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-25 14:01:41 +08:00
AllenZMC 850d86dece improve test coverage
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-24 22:25:11 +08:00
karmada-bot 70a08589f5
Merge pull request #1506 from huone1/refactor/selectclusters
refactor the selectclusters process
2022-03-24 16:51:22 +08:00
Garrybest 6ca7c2a235 fix hack/update-estimator-protobuf.sh failed with Golang v1.18
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-03-24 15:14:40 +08:00
c30013971 607b3e918d add a ut for pod.go
Signed-off-by: c30013971 <cuidengdeng@huawei.com>
2022-03-23 17:58:51 +08:00
huone1 c69d0e0eda refactor the selectclusters process
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-23 14:28:16 +08:00
huone1 067d45ec4d fix the fulluapplied status is wrong in some scenario
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-22 11:33:44 +08:00
RainbowMango 11fd0f935c Refactor ratelimit flags to make it easier to share with karmada-agent.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-18 17:25:13 +08:00
changzhen 9e40d959e2 add file to record lifted flie list
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-17 20:47:27 +08:00
changzhen 85ab6c7699 add ut for federatedresourcequota validating
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-16 14:37:13 +08:00
changzhen 4f545e37c6 lifted ut from the k8s codebase for resourcequota
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-16 14:13:33 +08:00
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