Commit Graph

286 Commits

Author SHA1 Message Date
karmada-bot 84d4a4592d
Merge pull request #1034 from Garrybest/pr_job_status
add startTime and completionTime in job status
2021-11-26 11:30:04 +08:00
guoyao 91e3b53fd0 add unit test for functions of generating names
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-26 08:34:46 +08:00
Garrybest 5195d93ec4 add startTime and completionTime in job status
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-11-25 21:50:36 +08:00
karmada-bot ba5b44aee2
Merge pull request #1029 from iawia002/cluster-api-v1beta1
Support for the cluster-api v1beta1 version
2021-11-25 21:32:03 +08:00
Garrybest d45dcbf7ab optimize ResourceList
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-11-25 20:37:10 +08:00
karmada-bot ac2e59d8fb
Merge pull request #1006 from XiShanYongYe-Chang/detet-todo-logic
delete the TODO logic with binding labels
2021-11-25 17:53:03 +08:00
Xinzhao Xu 29f10db1dd Support for the cluster-api v1beta1 version
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-11-25 16:58:14 +08:00
karmada-bot b35d2e0f5a
Merge pull request #1024 from eightzero/dev
ignore configv1alpha1 group in detector
2021-11-25 15:29:03 +08:00
eightzero a5c8aa905e ignore configv1alpha1 group in detector
Signed-off-by: eightzero <ieightzero@icloud.com>
2021-11-25 10:18:37 +08:00
karmada-bot ccf2762400
Merge pull request #990 from iawia002/rm-k8s-dep
Lift some utils code from the k/k repo to avoid relying on it
2021-11-24 20:18:17 +08:00
changzhen 4e6400ade3 add config v1alpha1 schemes to gclient
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-24 15:20:24 +08:00
pigletfly 42ed6dfbc4 Fix generate rb key
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-11-24 10:25:29 +08:00
karmada-bot ff928761fd
Merge pull request #1003 from JarHMJ/fix/fix_name_hash
fix: fix GenerateBindingReferenceKey bug
2021-11-24 09:23:12 +08:00
huangminjie f30c2afee0 fix: fix GenerateBindingReferenceKey bug
Signed-off-by: huangminjie <minjie.huang@daocloud.io>
2021-11-23 19:47:28 +08:00
lihanbo df925c7171 support update object annotations
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-11-23 19:10:47 +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 a6f5dea67b Fix panic: invalid memory address or nil pointer dereference
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-11-20 20:45:22 +08:00
changzhen 7224234a74 Update resourece interpreter pkg/file name and variable/parameter/comment naming
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-20 17:48:00 +08:00
Kevin Wang f8af0363f6 Update resource interpreter api (aka. explorewebhook)
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-11-20 14:59:52 +08:00
Xinzhao Xu 0859129968 Lift some utils code from the k/k repo to avoid relying on it
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-11-19 16:36:41 +08:00
guoyao 81f6cb939b add retaining webhook
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-18 16:08:39 +08:00
karmada-bot 876631801c
Merge pull request #965 from wzshiming/fix/get-secret
pkg/util/secret: Fix GetTargetSecret
2021-11-17 14:59:03 +08:00
RainbowMango 584bf4d256 Set background cacscade deletion by default
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-11-16 11:39:57 +08:00
Shiming Zhang 6c7cb9b51e pkg/util/secret: Fix GetTargetSecret
Signed-off-by: Shiming Zhang <wzshiming@foxmail.com>
2021-11-15 15:51:49 +08:00
guoyao 94227b33b4 add more validations for cluster name
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-15 15:08:16 +08:00
guoyao ae34e4d1b8 unify IsNodeReady function
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-15 11:35:03 +08:00
changzhen d81f6e81ce hooks matching and sending requests to webhook
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-15 10:34:18 +08:00
RainbowMango 9e7fde6ab9 Setup custom resource explorer
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-11-12 17:11:24 +08:00
Garrybest 47a6823afa support job scheduling
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-11-09 14:29:34 +08:00
guoyao b22da790ea cleanup some codes
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-08 20:43:39 +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
karmada-bot ccf78c1c70
Merge pull request #891 from Garrybest/pr_dynamic_weight
divide replicas weighted by AvailableReplicas
2021-11-08 15:41:55 +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
karmada-bot 9d31827a4b
Merge pull request #925 from pigletfly/refactor-object-watcher
refactor object watcher interface
2021-11-08 11:39:42 +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
dddddai 795ad5bd40 skip propagating events by default
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-11-06 19:58:04 +08:00
pigletfly dac00692e7 refactor object watcher interface
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-11-05 23:26:51 +08:00
lihanbo ac3878ec03 add Timeout in WaitForCacheSync
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-11-05 13:50:30 +08:00
Garrybest a3e1b597c0 add object reference when calling gRPC
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-11-02 22:25:12 +08:00
Leo f698881e1f
fix: stop informer manager Instance once
Signed-off-by: yvoilee <yvoilee@gmail.com>
2021-10-29 18:20:35 +08:00
wawa0210 597abca96e
Delete EndpointSlice should consider the situation that it no longer exists
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-10-25 21:18:42 +08:00
changzhen 27558d5a51 move detector directory from pkg/util/ to pkg/
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-10-20 10:21:08 +08:00
karmada-bot 41f0cb136a
Merge pull request #827 from ctripcloud/update-log
add cluster message in objectwatcher logs for convenient debugging
2021-10-18 19:24:01 +08:00
jingxueli 111999fa30 add cluster message in objectwatcher logs for convenient debugging
Signed-off-by: jingxueli <jingxueli@trip.com>
2021-10-18 17:48:21 +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
Garrybest 08fa785670 run async worker with no intervals
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-10-18 10:58:49 +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