Commit Graph

558 Commits

Author SHA1 Message Date
karmada-bot e30ca1b9cc
Merge pull request #4882 from whitewindmills/work-labels-annotations
Use webhook to set associated labels and annotations of work
2024-05-10 11:51:33 +08:00
whitewindmills a5d8ba7c09 Use webhook to set associated labels and annotations of work
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-10 11:03:19 +08:00
karmada-bot abb77d954c
Merge pull request #4911 from whitewindmills/rv-compare
chore: Use != for RV comparison
2024-05-07 20:13:31 +08:00
chaosi-zju 57c982f327 feat: support update event in WorkloadRebalancer
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-07 15:43:55 +08:00
whitewindmills 9c70349878 Use != for RV comparison
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-05-07 15:37:23 +08:00
karmada-bot ae0d3fa18e
Merge pull request #4884 from RainbowMango/pr_bump_k8s_1294
Bump Kubernetes dependencies to v1.29.4
2024-05-06 20:13:11 +08:00
RainbowMango d4b610cad6 fix lint issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-06 11:36:54 +08:00
chaosi-zju ccfc43e5bb fix patching WorkloadRebalancer failed due to misuse of shared slices
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-30 18:25:19 +08:00
whitewindmills f9f3d47c30 ObjectWatcher.Delete checks if resource can be deleted
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-28 18:45:44 +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
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
changzhen a16b4e220b replace work namespace/name labels with annotations
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-04-24 22:08: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
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
karmada-bot 4898c0fc55
Merge pull request #4811 from whitewindmills/deprecated-rb_crb-labels
Deprecate key labels of rb/crb
2024-04-10 16:07:07 +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
karmada-bot bc60437977
Merge pull request #4800 from yizhang-zen/yizhang/rename
Rename a function to match with updated behavior
2024-04-10 09:27:48 +08:00
yizhang-zen 04395e3579 Rename func to getClusterNameFromAnnotation to match with updated behavior
Signed-off-by: yizhang-zen <yizhang@zendesk.com>
2024-04-09 14:06:27 -07:00
whitewindmills b0bbaa32e7 Fix the bug of mcs binding losing resourcebinding.karmada.io/permanent-id label
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-09 18:30:43 +08:00
huangyanfeng 7c2b3e19ee if an error is non-nil not need to set Result.Requeue true
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-04-03 14:08:22 +08:00
karmada-bot 4e2548250b
Merge pull request #4774 from XiShanYongYe-Chang/fix-wrong-delete-eps
fix bug of wrong delete endpointslice collect from member cluster
2024-03-28 21:50:38 +08:00
changzhen 3121bd9b88 fix bug of wrong delete endpointslice collect from member cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-28 20:36:20 +08:00
changzhen 0e60af8ee2 remove work label on the member cluster resource
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-28 12:56:35 +08:00
karmada-bot ff7322acf2
Merge pull request #4729 from chaosi-zju/hpav5
fix deployment replicas syncer in case that `status.replicas` haven't been collected from member cluster to template
2024-03-27 18:38:38 +08:00
chaosi-zju 31d6855e63 fix deployment replicas syncer in case that status.replicas haven't been collected
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-03-27 17:34:46 +08:00
changzhen 6b8e73e37a add endpointslice-controller finalizer for Endpointslice Work object
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-27 14:44:49 +08:00
changzhen d7db9c5acc fix eps remain when karmada-controller-manager restart
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-27 14:30:45 +08:00
karmada-bot c5c6ffa4e9
Merge pull request #4718 from liangyuanpeng/cleanup_label_uid
Delete the labels of uid.
2024-03-26 17:02:37 +08:00
chaosi-zju 3012c808f8 fix deployment replicas syncer in case deployment status changed before label added
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-03-18 11:39:42 +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 473387bbd5 add ut for remedy controller eventhandler
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-15 14:35:54 +08:00
changzhen 6b04bffea0 add ut for remedy util function
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-15 11:01:18 +08:00
chaosi-zju 8f5cc4995c sync deployment replicas when it is controlled by hpa
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-03-14 20:39:22 +08:00
changzhen 1edd563268 fix panic when update remedy.spec.clusteraffinity to empty
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-28 11:14:03 +08:00
changzhen 081610e33e add remedy controller
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-27 22:24:34 +08:00
zhzhuang-zju 8241b3cab2 update work status condition when recreate failed
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-02-21 11:07:29 +08:00
jwcesign cebb1eac03 feat: add manager label to eps work to avoid the conflicts between mcs/serviceexport
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2024-01-29 20:22:36 +08:00
Mohammed Affan 970435c3d1 Add linting for unused parameters
Signed-off-by: Mohammed Affan <mohammed.affan.727@gmail.com>
2024-01-13 12:26:54 +05:30
jwcesign 947a80e00f cleanup: enable revive(var-naming rule) checking
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-10 12:15:03 +08:00
jwcesign e36a80c86c cleanup: enable revive(blank-imports rule) checking
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-10 10:07:55 +08:00
jwcesign 367db18cb6 cleanup: enable revive(var-declaration rule) checking
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-09 20:07:23 +08:00
jwcesign 38b2cae7e1 cleanup: enable revive(exported rule) checking
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-01-09 09:41:47 +08:00
karmada-bot 34b701416e
Merge pull request #4503 from zhzhuang-zju/comment
cleanup: enable revive(package-comments) checking
2024-01-04 18:33:28 +08:00
karmada-bot a1c1eedcc7
Merge pull request #4498 from chaosi-zju/lint-error-strings
cleanup: enable revive(error-strings) checking
2024-01-03 11:03:27 +08:00
zhzhuang-zju b695e5da36 cleanup: enable revive(package-comments) checking
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-01-03 10:19:14 +08:00
chaosi-zju 25b67f54d6 cleanup: enable revive(error-strings) checking
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-01-02 20:37:36 +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
karmada-bot c6b2adaafc
Merge pull request #4453 from chaosi-zju/dev
execute InterpretHealth even if statusRaw is nil
2023-12-20 16:45:15 +08:00
chaosi-zju 56e0d8c9e6 execute InterpretHealth even if statusRaw is nil
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-20 15:44:39 +08:00
jwcesign 3f6431dae2 feat: ignore reconcile the mcs triggered by svc if the mcs is not CrossCluster
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-20 10:21:58 +08:00