Commit Graph

73 Commits

Author SHA1 Message Date
wei-chenglai bc6b04236a Add Priority and PreemptionPolicy fields in ResourceBinding
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2025-02-18 21:48:51 +08:00
RainbowMango 2f180f26cd Add ResourceBinding scheduling suspension helper functions to simplify code
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2025-01-06 17:39:59 +08:00
Marty Mcfly 7a85687026
feat: cluster-level resource scheduling suspend and resume capabilities (#5937)
* RB suspension: API change

Signed-off-by: Monokaix <changxuzheng@huawei.com>

* Feat: scheduler supports binging suspension

Signed-off-by: Monokaix <changxuzheng@huawei.com>

---------

Signed-off-by: Monokaix <changxuzheng@huawei.com>
2025-01-02 11:46:34 +08:00
Monokaix eb2a4bd051 decouple suspension of propagation and resourcebinding
Signed-off-by: Monokaix <changxuzheng@huawei.com>
2024-12-28 11:31:53 +08:00
changzhen 46dbf076e9 build PreservedLabelState when triggering evition
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-28 11:25:42 +08:00
RainbowMango 87ef7d0f44 Add StatePreservation filed to PropagationPolicy API
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-26 21:08:43 +08:00
changzhen db7982e9a9 update GracefulEvictCluster() to set PurgeMode during eviction process
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-11-15 12:02:17 +08:00
mszacillo 9b92cc4d51 Introduce PurgeMode to GracefulEvictionTask in ResourceBinding
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-11-14 10:21:56 -05:00
RainbowMango aa61791ccb Proposing preserve API to support migration sceanrios
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-09-20 18:26:53 +08:00
Amir Alavi 58dbd6b56e
feat: cluster-level resource propagation pause and resume capabilities
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-07-29 19:03:52 -04:00
RainbowMango 7e7d8f6b9a adopt deepcopy-gen breaking changes
Adopt register-gen breaking changes
adopt conversion-gen breaking change
Adopt client-gen breaking changes
adopt list-gen breaking changes
Adopt informer-gen breaking changes
Adopt openapi-gen breaking changes
Adopt go-to-protobuff breaking changes

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-13 16:48:18 +08:00
RainbowMango f2b37a43a3 Unify column names and add missing age column
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-04 18:15:37 +08:00
孙伟祥 933343df10 fix deployment observed generation logic
Signed-off-by: 孙伟祥 <sunweixiang@xiaohongshu.com>
2024-06-14 14:05:42 +08:00
Lan Liang ed0f26c328 cleanup pointer, use ptr.Toto obtain a pointer, ptr.Deref to dereference a pointer.
The new k8s.io/utils/ptr package provides generic wrapper functions,
which can be used instead of type-specific pointer wrapper functions.
This replaces the latter with the former, and migrates other uses of
the deprecated pointer package to ptr in affacted files.

See kubernetes/utils#283 for details.

Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-28 05:32:33 +00:00
whitewindmills 8328054439 Deprecate name/namespace labels of work
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-28 15:22:44 +08:00
chaosi-zju 0372cabba6 Introduce a mechanism to scheduler to actively trigger rescheduling
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-20 20:55:45 +08:00
whitewindmills f8d6be5320 Deprecate key labels of rb/crb
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-10 11:30:43 +08:00
RainbowMango 32a40764ea pin CRD plural name to avoid default plural name changes due to dependencies changes
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-03-29 18:06:44 +08:00
Lan Liang cd2812e30e Delete the labels of uid.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-03-18 03:00:19 +00: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
chang.qiangqiang 9ec160ab9f fix(work): motify gracefulEvictionTasks sub field to pointer type
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2023-12-22 17:06:31 +08:00
jwcesign e77fe55851 feat: fix conflicts with pp
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-14 19:46:46 +08:00
whitewindmills 2b05d1e94f add license for auto-generated files
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-12-05 14:20:26 +08:00
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
karmada-bot 557348fea0
Merge pull request #4074 from Vacant2333/add-resource-deletion-protection-by-label
[Feat] Resource Deletion Protection
2023-10-18 11:35:23 +08:00
Vacant2333 1df2420f70 [feat] namespace deletion protection
Signed-off-by: Vacant2333 <vacant2333@gmail.com>
2023-10-17 14:54:54 +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
RainbowMango ae3f793358 Add conflict resolution API to PP and CPP
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-19 16:47:47 +08:00
whitewindmills 45c995a9e1 add new schedule condition reason
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-07-17 18:38:41 +08:00
Poor12 d06fe2b5b3 add application failover controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-06 10:36:54 +08:00
karmada-bot 6d4cb3d8b9
Merge pull request #3456 from jwcesign/fix-1
Correct the issue of adding duplicate eviction tasks
2023-04-26 10:01:11 +08:00
jwcesign e1b9e1724a Fix add same eviction tasks multiple times
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-04-25 14:25:06 +08:00
Poor12 2c9d900c28 add some fields for GracefulEvictionTask
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-24 14:59:27 +08:00
Poor12 433ccb0d0f add api to binding
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-18 19:55:47 +08:00
RainbowMango 5dc94f40fe Extend ResourceBinding by adding the SchedulerObservedAffinityName to the status field.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-02-16 20:09:12 +08:00
karmada-bot b36bc65d14
Merge pull request #2702 from Poor12/add-toleration
Add placement for bindingSpec
2023-02-13 11:08:55 +08:00
chaunceyjiang df43a00e52 feat: support for removing annotations/labels propagated through karmada
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-02-10 16:00:21 +08:00
Poor12 5eff625925 add placement for binding
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-10 15:18:01 +08:00
Poor12 bec9ca1f6a Support multiple schedulers
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-01 12:00:40 +08:00
RainbowMango a1e8f164cb adopt static check issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-31 09:22:41 +08:00
Poor12 5418b5d265 refactor events
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-15 15:34:22 +08:00
Poor12 ac6aaa31f1 add override policy event
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-09 10:25:23 +08:00
changzhen c1794bf7e4 add health field in the binding and work api
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-19 15:44:19 +08:00
RainbowMango 2673a991d2 Add graceful eviction helper function and perform
graceful eviction only when feature gate is on.

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-09 09:43:07 +08:00
RainbowMango 89f9c96644 Extend Binding API adding graceful eviction
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-01 17:36:03 +08:00
karmada-bot b5119c391a
Merge pull request #2280 from zirain/crd-category
support CRD category
2022-07-30 14:51:55 +08:00
hejianpeng 01eea9189c support CRD category
Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
2022-07-30 11:47:54 +08:00