Commit Graph

62 Commits

Author SHA1 Message Date
whitewindmills f8d6be5320 Deprecate key labels of rb/crb
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-10 11:30:43 +08:00
yweng14 e0b3e834ef [MVP] add resourcequota plugin in scheduler-estimator: add resourcequota plugin
Signed-off-by: yweng14 <yweng14@bloomberg.net>
2024-01-27 15:27:47 +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
chaosi-zju 4241e88085 implementation of divide replicas by static weight evenly
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-11-15 14:47:01 +08:00
chaunceyjiang e17eb1a595 feat: Introduce a LabelSelector field to DependentObjectReference
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-08-09 12:14:56 +08:00
whitewindmills 909ba8527a avoid updating directly cached resource template
for clean up policy

Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-08-03 14:59:54 +08:00
whitewindmills d487e2cb0c implement propagation policy priority preemption
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-26 18:51:00 +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
RainbowMango a1e8f164cb adopt static check issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-31 09:22:41 +08:00
Garrybest 2dd48e029a dispense replicas for job
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-23 10:11:44 +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
Poor12 e988f75fb0 add events for graceful eviction controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-26 10:27:10 +08:00
Garrybest 8d9780f838 refactor static weight strategy
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-11-22 15:28:04 +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
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
calvin0327 532b22f80d cleanup federated resource quota
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
2022-07-08 09:55:22 +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
chaunceyjiang 5350072889 fix binding reference key hash collision
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-07-04 09:42:51 +08:00
changzhen fdc2fdb370 eliminate duplicate getworks function
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-01 09:52:51 +08:00
lihanbo 4569663b40 adapt for propagating dependencies
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-02-26 15:49:06 +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
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
Garrybest ae3eaaee5b fix bug of resource computing
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-08 12:03:49 +08:00
Garrybest 60c3f31897 delete scale scheduling
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-12-07 10:03:18 +08:00
lihanbo 435f32cc4d update Scheduled conditon when failed scheduling
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-02 17:53:53 +08:00
changzhen 033de2de9f delete the TODO logic with binding labels
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-22 17:41:55 +08:00
RainbowMango 9e7fde6ab9 Setup custom resource explorer
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-11-12 17:11:24 +08:00
karmada-bot d0a7a9ac7e
Merge pull request #933 from gy95/continue
remove orphan works failed cannot print successful logs
2021-11-08 16:19:22 +08:00
guoyao fc578cc496 remove orphan works failed cannot print successful logs
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-08 14:55:26 +08:00
Garrybest a29f3f7a50 divide replicas by dynamic weight
Signed-off-by: Garrybest <garrybest@foxmail.com>
Co-authored-by: junqian <junqian@tencent.com>
2021-11-06 22:38:57 +08:00
karmada-bot d2af1e1991
Merge pull request #823 from dddddai/sched-condition
Propose a Scheduled condition for RB/CRB
2021-10-18 15:15:01 +08:00
dddddai eaea5c608b add scheduled condition for binding
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-10-18 11:43:40 +08:00
karmada-bot cceed5c9f8
Merge pull request #791 from dddddai/from-cache
Fetch control plane workload from cache instead of api server
2021-10-15 17:55:57 +08:00
dddddai 65071d1e64 fetch control plane workload from cache instead of api server
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-10-15 17:33:25 +08:00
wawa0210 2d332b7556
Support delete ophranworks can continue the remove operation when an exception occurs, and finally return all deleted exceptions
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-10-13 23:44:24 +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
dddddai ede9fad83c add finalizer in resource binding and cluster resource binding
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-09-29 11:21:51 +08:00
RainbowMango 56fbbe1054 adopt binding v1alpha2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-09-28 17:03:46 +08:00
karmada-bot f380abf288
Merge pull request #657 from Garrybest/pr_estimator
add node claim into ReplicaRequirements
2021-09-07 09:13:03 +08:00
Garrybest 4f8215e071 add node claim into ReplicaRequirements
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-06 15:31:42 +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
karmada-bot 8088121b82
Merge pull request #586 from weilaaa/fix/remove-duplicated-constants
remove duplicated constants in binding.go
2021-08-09 09:31:12 +08:00
weilaaa 32d051ceae remove duplicated constants in binding.go
Signed-off-by: weilaaa <weilanidaye@gmail.com>
2021-08-06 10:55:03 +08:00
pigletfly 8edb376966 Move labels to apis
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-08-06 00:03:00 +08:00
changzhen 12e2585e82 Cleanup cyclomatic complexity with function EnsureWork
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-14 20:43:45 +08:00
junqian f60a77160c scheduler with weighted ReplicaDivisionPreference
Signed-off-by: junqian <junqian@tencent.com>
2021-07-09 09:52:14 +08:00
junqian ffe285ea2a ensure work with given replicas
Signed-off-by: junqian <junqian@tencent.com>
2021-07-07 15:14:23 +08:00