Commit Graph

37 Commits

Author SHA1 Message Date
jwcesign 7e6387e98f feat: add resoruce id label
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-20 11:07:11 +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
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
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
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
hejianpeng c038cdd127 support ClusterOverridePolicy in namespaces_sync_controller
Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
2022-07-28 11:00:32 +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
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
changzhen 74451dba63 Unified WorkspaceLabel/WorkNameLabel
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-14 16:06:02 +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 c07b6ce2dd update FullyApplied condition
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-10 17:16:05 +08:00
Garrybest 47a6823afa support job scheduling
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-11-09 14:29:34 +08:00
iawia002 10f17e1eec Update .golangci.yml file to include comments check rule
Signed-off-by: iawia002 <z2d@jifangcheng.com>
2021-10-26 11:41:28 +08:00
lonelyCZ f3eae223cc Add FullyApplied to binding
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-10-20 16:23:07 +08:00
wawa0210 b247085261
Add execution event
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-10-18 13:48:17 +08:00
changzhen cac82db303 move binding's namespace/name from work's label to annotation
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-10-09 16:28:00 +08:00
changzhen acee9c6a09 modify event reason
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-30 12:09:42 +08:00
RainbowMango 56fbbe1054 adopt binding v1alpha2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-09-28 17:03:46 +08:00
phantooom b9929128b3 fix: when matchClusters is empty controller will crash
Signed-off-by: phantooom <xiaorui.zou@gmail.com>
2021-09-23 13:25:08 +08:00
esto a6165e47f9 update import-aliases
Signed-off-by: esto <1291156784@qq.com>
2021-09-15 15:13:14 +08:00
lihanbo 3da0a0c117 fix bug of aggregating status to resourcebinding
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-09-07 21:00:07 +08:00
phantooom bf90394a0f fix: when ReplicaSchedulingPolicy all the staticWeightRule weight is 0, calculateReplicas func divide by 0
Signed-off-by: phantooom <xiaorui.zou@gmail.com>
2021-08-31 22:34:56 +08:00
changzhen 7299d8c091 move helper.EnsureWork() to pkg/controllers/binding
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-08-24 15:34:27 +08:00
Zhen Chang 0290ebf253
Aggregate status to clusterResourceBinding (#223)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-03-18 14:40:33 +08:00