Commit Graph

328 Commits

Author SHA1 Message Date
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
RainbowMango 58c3765684 Add stateful application failover status injection feature gate
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-29 16:27:36 +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
LavredisG 6d2ae6b2e6 Update cluster/types.go and cluster/v1alpha1/types.go
Signed-off-by: LavredisG <lavredisgoume@gmail.com>
2024-11-22 11:56:30 +08:00
karmada-bot e0d77eb330
Merge pull request #5826 from RainbowMango/pr_update_purge_mode
Update application failover purge mode comments
2024-11-19 11:50:57 +08:00
RainbowMango d0497d41ce Update application failover purge mode comments
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-11-16 15:32:28 +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
wei-chenglai 5b48832496 Fix InterpreterOperationAll description typo
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2024-10-18 23:10:39 -04:00
RainbowMango 6b3a781491 Correct SuspendDispatching comments and add notes.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-09-26 16:50:12 +08:00
RainbowMango 8ad4b5a989 Proposing structured field overrider API
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-09-23 20:37:44 +08: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
whitewindmills 3307a52627 add new cluster condition: IncompleteAPIEnablements
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-09-13 17:40:24 +08:00
Amir Alavi 1d8e0a029e
work suspension: work status conditions
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-07 22:25:05 -04:00
whitewindmills 384f260953 add validation for failover api
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-08-06 10:41:36 +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 5d14b8d254 Adopt deprecated AddToScheme functions
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-11 15:09:13 +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
whitewindmills 2450bd6041 Correct licenses format
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-04 10:35:16 +08:00
Amir Alavi cb77fdc245
additional print columns for CRDs: `ResourceInterpreterCustomization` `ClusterPropagationPolicy` and `PropagationPolicy`
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-07-02 12:49:57 -04:00
孙伟祥 933343df10 fix deployment observed generation logic
Signed-off-by: 孙伟祥 <sunweixiang@xiaohongshu.com>
2024-06-14 14:05:42 +08:00
RainbowMango 1c9395ba6e nominate code owners of scheduler, resourceinterpreter, apis
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-06-07 11:59:02 +08:00
karmada-bot 049ddc6d1f
Merge pull request #5020 from XiShanYongYe-Chang/remove=pp-namespce-name-labels
Remove pp/cpp namespace/name labels
2024-06-07 10:59:35 +08:00
chaosi-zju 3c731e5d08 fix demo for dependencyInterpretation
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-06-04 11:50:30 +08:00
changzhen 64a5d0fa7a remove pp/cpp namespace/name labels
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-06-03 09:58:19 +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
chaosi-zju a8b4050ee7 support auto delete WorkloadRebalancer when time up.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-27 09:56:06 +08:00
zhzhuang-zju 309c67701b bump golangci to v1.58.0
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-05-13 09:32:13 +08:00
karmada-bot 5bc8c5464d
Merge pull request #4872 from XiShanYongYe-Chang/add-shortname-for-ResourceInterpreterCustomization
add short name for resourceinterpretercustomizations
2024-04-30 15:04:09 +08:00
whitewindmills 8328054439 Deprecate name/namespace labels of work
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-28 15:22:44 +08:00
changzhen cc72dc853d add short name for resourceinterpretercustomizations
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-04-26 10:15:47 +08:00
karmada-bot 68577f19f9
Merge pull request #4743 from whitewindmills/deprecated-labels
Deprecate name/namespace labels of pp/cpp
2024-04-25 20:47:02 +08:00
chaosi-zju c600991f36 Introduce a new API named WorkloadRebalancer to support rescheduling.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-23 10:34:11 +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 59b8835bda Deprecate name/namespace labels of pp/cpp
Co-authored-by: changzhen <changzhen5@huawei.com>
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-18 14:21:02 +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
changzhen 2db3ca2629 add remedy api in the swagger.json
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-05 09:15:04 +08:00
changzhen 8a101ebcb7 set enum value for operator in Remedy API
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-28 22:49:53 +08:00
changzhen 70afc1ad6d add remedy group api and update cluster api
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-27 21:29:13 +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
karmada-bot ae5b3fe373
Merge pull request #4577 from chaosi-zju/policy5
Introduced a lazy activation preference to PropagationPolicy/ClusterPropagationPolicy
2024-01-25 21:52:45 +08:00
chaosi-zju 926e34a7ad implementation of the LazyActivation preference for Policy.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-01-25 20:56:31 +08:00
RainbowMango c47e12a442 bump golangci-lint to v1.55.2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-01-21 12:34:24 +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