karmada-bot
55547b2acf
Merge pull request #4199 from jwcesign/add-id-label
...
feat: add resource id label
2023-11-23 10:44:52 +08:00
jwcesign
7e6387e98f
feat: add resoruce id label
...
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-20 11:07:11 +08: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
jwcesign
2c48bd7f99
cleanup: add uid in resource and owner information in annotations
...
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-08-26 17:02:13 +08:00
RainbowMango
4ee4b22f05
Adopt Kubernetes breaking changes: PR 113542 which require singular names for core types
...
Adopt breaking change of contriller-runtime PR 2122
Adopt breaking change of contriller-runtime PR 2296
Adopt breaking change of controller-runtime PR 2139
Adopt breaking change of controller-runtime PR 2135
Adopt breaking change of Kubernetes PR 116218
Adopt breaking change of controller-runtime PR 2149
Adopt breaking change of controller-runtime PR 2150
Adopt breaking change of controller-runtime PR 2134
Adopt breaking change of controller-runtime PR 2293
Adopt breaking change of controller-runtime PR 2144
Adopt k8s feature: watch list. PR 115402
Adopt breaking change of Kubernetes PR 117102
Adopt Kubernetes change: disable staticcheck
Fix unit tests that failure due to fake-client behavior changes.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-29 16:47:38 +08:00
chaosi-zju
2b060cbf3b
feat: realization of ConflictResolution in PP.
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-07-25 20:23:37 +08:00
jwcesign
4f41da2381
fix: reduce metrics size by merge metrics with different apiVersion/namespace/name
...
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-14 17:26:05 +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
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
Poor12
6ad5a2704e
[flake] application failover testing
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-15 20:22:48 +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
Poor12
75c638ddc1
do not revise replicas when duplicated
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-06 15:05:45 +08:00
Poor12
e7f70a00b6
fix issue when cluster fails and recovers
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-03-07 15:39:25 +08:00
changzhen
eecadfd43a
add bindingStatus controller to aggregate work status and update the
...
status of resource template
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-23 16:08:36 +08:00
karmada-bot
a20dd6e630
Merge pull request #2935 from jwcesign/code-review-fix-v2
...
Delete the redundant logic in func GenerateExecutionSpaceName
2022-12-29 15:39:50 +08:00
chen zechun
83d43235e8
Uniform error log output starts with uppercase
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-28 19:12:36 +08:00
jwcesign
8acd1a4503
Delete the redundant logic in func GenerateExecutionSpaceName
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-12-28 15:59:24 +08:00
Garrybest
2dd48e029a
dispense replicas for job
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-23 10:11:44 +08:00
Poor12
7013563291
add metrics for resource
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-28 14:38:22 +08:00
Poor12
5418b5d265
refactor events
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-15 15:34:22 +08:00
wuyingjun
41b1cc4c8c
fix overridepolicy with nil resource selector could not work
...
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-11-12 17:36:30 +08:00
wuyingjun
81d8fdd1a6
remove overridepolicy trigger on cluster_resource_binding_controller
...
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-11-08 21:39:32 +08:00
yanggang
a0a7674d26
reuse context for controller-manager base-context
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
2022-11-05 18:51:06 +08:00
Garrybest
92d8c69d46
stop publish duplicated event
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-09-23 10:43:59 +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
RainbowMango
8461e4fb8c
rename and re-organize the informermanager
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-09 17:24:23 +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
AllenZMC
2f5178f88f
add ut for binding/common
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-08-01 23:42:01 +08:00
hejianpeng
c038cdd127
support ClusterOverridePolicy in namespaces_sync_controller
...
Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
2022-07-28 11:00:32 +08:00
AllenZMC
b7a05f72e5
add ut for binding/common
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-07-15 15:43:04 +08:00
hanweisen
7219bf6655
avoid required label override by overridepolicy
...
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-06-29 00:25:31 +08:00
RainbowMango
56d1570439
rename misleading label constant
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-06-14 11:25:10 +08:00
RainbowMango
362bef3065
Add comments about why resource template not exist
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-04-24 15:15:14 +08:00
ljx李静雪
4953fbcd9e
if workload is not found, skip to ensure work
...
Signed-off-by: jingxueli <jingxueli@trip.com>
2022-04-21 20:06:29 +08:00
changzhen
3c11b00720
update the judgement for setting completions with job
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-25 15:41:24 +08:00
lihanbo
55b8c1cba9
bugfix: aggregate status to binding when work's applied condition status changed
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-03-21 21:23:12 +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
74451dba63
Unified WorkspaceLabel/WorkNameLabel
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-14 16:06:02 +08:00
RainbowMango
8a402f8e94
chore: cleanup ratelimiter flags
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-08 08:57:01 +08:00
pigletfly
d8470c2c52
Fix resource binding get reconciled multiple times
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-03-04 14:21:13 +08:00
pigletfly
9e28d6c6e8
add ratelimiter flags
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-03-03 16:09:39 +08:00
lihanbo
4569663b40
adapt for propagating dependencies
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-02-26 15:49:06 +08:00
likakuli
f4fc8ee15b
fix a bug that Replica set by overridepolicy will be reset by ReviseReplica interpreterhook issue#1347
...
Signed-off-by: likakuli <1154584512@qq.com>
2022-02-10 16:14:14 +08:00
karmada-bot
28f0bf365b
Merge pull request #1145 from kerthcet/feature/fix-ensure-cyclomatic-complexity
...
fix ensureWork cyclomatic complexity
2022-01-20 09:00:25 +08:00
kerthcet
695f3cc99e
fix ensureWork cyclomatic complexity
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-19 13:16:56 +08:00
changzhen
fc7616e234
update HookEnabled interface with resourceinterpreter
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-01-19 09:27:15 +08:00
Xinzhao Xu
d7b593ce55
Remove deprecated ReplicaSchedulingPolicy API
...
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-24 17:43:06 +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
b238572263
add events to resource template
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-20 17:31:38 +08:00
karmada-bot
3a743aaaa9
Merge pull request #1060 from mrlihanbo/FullyApplied
...
update FullyApplied condition after aggregating works status
2021-12-10 17:43:18 +08:00