chaunceyjiang
d33deaeead
Add detailed information about the taint
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-12-15 10:57:36 +08:00
helen
5eaf574d4b
introduce --kube-version flag to karmadactl init
...
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-12-15 10:51:43 +08:00
RainbowMango
14423bf5d8
Introduce generic hashset to simplify code
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-12-14 15:49:45 +08:00
karmada-bot
e47d6cb71b
Merge pull request #2949 from yanfeng1992/fixbug-unjoin-wait
...
CommandUnjoinOption wait must be a positive duration
2022-12-14 14:09:22 +08:00
karmada-bot
0131bffaae
Merge pull request #2879 from carlory/validate
...
move validation funcs into util/validation
2022-12-14 10:10:23 +08:00
karmada-bot
96832a5f37
Merge pull request #2947 from XiShanYongYe-Chang/flaking-test
...
fix failing test of editing policy resourceSelectors
2022-12-13 17:51:22 +08:00
karmada-bot
f029394009
Merge pull request #2912 from jwcesign/fix-pp-rb
...
fix a corner case that re-schedule be skipped in case of the cluster becomes not fit.
2022-12-13 17:06:27 +08:00
changzhen
598935a5f7
fix flaking test of editing policy resourceSelectors
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-12-13 16:55:31 +08:00
jwcesign
950b614fa7
Fix resource hangover in member cluster when propagating matching changes
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-12-13 14:55:50 +08:00
changzhen
5ed2100ee1
support multiple dependencyInterpreter lua script for one gvk
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-12-13 10:30:33 +08:00
huangyanfeng
17f105de05
CommandUnjoinOption wait must be a positive duration
...
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2022-12-12 17:43:48 +08:00
Garrybest
c747cbcce7
clean up metrics for scheduler, descheduler and estimator
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-12 17:35:49 +08:00
karmada-bot
37cca1cd8d
Merge pull request #2928 from Fish-pro/fix/healthy
...
Fix misjudgment of deployment and statefuleset health status
2022-12-12 14:51:21 +08:00
chen zechun
ec8f4c2a54
Fix Deployment and Statefulset health judgments
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-12 13:53:54 +08:00
karmada-bot
941637e805
Merge pull request #2942 from helen-frank/fix/namespace_sync_controller-buildWorks
...
need return after ch <-
2022-12-12 11:54:22 +08:00
karmada-bot
605fb36366
Merge pull request #2940 from kingkonghong/duplicate-resourceinterpreterwebhookconfigurations-rbac
...
Remove duplicate RBAC permission configurations
2022-12-12 09:48:21 +08:00
helen
681d51bd7f
need return after ch <-
...
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-12-11 20:28:55 +08:00
kingkonghong
3d40d6cf26
Remove duplicate RBAC permission configurations
...
Signed-off-by: kingkonghong <jayfantasyhjh@gmail.com>
2022-12-09 18:13:12 +08:00
karmada-bot
c7232f824b
Merge pull request #2930 from Poor12/fix-recover
...
Fix work status not sync to control plane when apiserver failed and recovered soon
2022-12-09 17:32:24 +08:00
Poor12
7c4cd0b5b6
fix work status not sync to control plane
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-12-09 15:43:34 +08:00
karmada-bot
1541db26d5
Merge pull request #2919 from Poor12/improve-auto-generate-pp
...
Replace colon with point in the rbac resource name
2022-12-09 11:33:19 +08:00
yingjinhui
0f5e377d9f
add kube lib for lua
...
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-08 22:14:04 +08:00
karmada-bot
5f673cbde8
Merge pull request #2918 from qingwave/unstructured-ut
...
[UT] Add unstructed helper uinttest
2022-12-08 18:00:18 +08:00
karmada-bot
efb50ade80
Merge pull request #2916 from chaunceyjiang/resourceinterpretercustomizations
...
fix resourceinterpretercustomizations webhook
2022-12-08 16:51:30 +08:00
qingwave
e171c4cac6
add unstruucted helper uinttest
...
Signed-off-by: qingwave <isguory@gmail.com>
2022-12-08 08:37:03 +00:00
karmada-bot
95412f1942
Merge pull request #2915 from kingkonghong/master
...
fix that validating for resourceinterpreterwebhookconfigurations does…
2022-12-08 12:17:18 +08:00
Poor12
cfacfb2f10
replace colon with point in the rbac resource name
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-12-08 11:59:08 +08:00
karmada-bot
8af17ca382
Merge pull request #2911 from yanfeng1992/fixbug_impersonation_subject_deduplicate
...
generate PolicyRules from given subjects for impersonation deduplicate
2022-12-08 11:36:18 +08:00
huangyanfeng
1e1506332e
generate PolicyRules from given subjects for impersonation deduplicate
...
Signed-off-by: huangyanfeng <huangyanfeng@cestc.com>
generate PolicyRules add ut case for check deduplicate
Signed-off-by: huangyanfeng <huangyanfeng@cestc.com>
import format
Signed-off-by: huangyanfeng <huangyanfeng@cestc.com>
2022-12-08 10:31:37 +08:00
karmada-bot
60a9a649ed
Merge pull request #2880 from helen-frank/feature/buildWorksConcurrency
...
namespace_sync_controller: buildWorks parallel sync namespace
2022-12-08 10:30:18 +08:00
helen
2f3d6dc859
namespace_sync_controller: buildWorks parallel sync namespace
...
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-12-07 20:25:54 +08:00
chaunceyjiang
2aa025da76
fix resourceinterpretercustomizations webhook
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-12-07 18:05:55 +08:00
hejunhua
406cce3de6
fix that validating for resourceinterpreterwebhookconfigurations does not work
...
Signed-off-by: hejunhua <hejunhua@cestc.cn>
2022-12-07 17:54:04 +08:00
karmada-bot
e6ba531a73
Merge pull request #2881 from ikaven1024/ut-interpret
...
[UT] add ut for interpret command
2022-12-07 10:29:18 +08:00
yingjinhui
36bc23183b
ut for interpret command
...
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-06 12:30:44 +08:00
karmada-bot
69bd4ece52
Merge pull request #2883 from ikaven1024/pr-pool-metric
...
add metrics for pool
2022-12-06 11:29:16 +08:00
karmada-bot
9784ed3a5d
Merge pull request #2609 from chaunceyjiang/implicit
...
add implicit priority for OP and COP
2022-12-06 10:34:16 +08:00
karmada-bot
ad50c02bf3
Merge pull request #2903 from Fish-pro/fix/typo
...
Modify the error log output
2022-12-05 20:51:16 +08:00
yingjinhui
45d85bb46c
add metrics for pool
...
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-05 20:34:23 +08:00
chen zechun
7b64cc5e4e
Correct the typos
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-05 18:27:28 +08:00
lonelyCZ
f6721c4936
Fix that karmada-agent don't have permission to delete work resources
...
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-12-05 16:23:13 +08:00
RainbowMango
f6dc267e46
Remove redundant pointer use of atomic types
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-12-01 18:26:19 +08:00
karmada-bot
0035d7a23b
Merge pull request #2885 from chaunceyjiang/atomic
...
go1.19: change some atomic.Value to atomic.Bool
2022-12-01 18:14:12 +08:00
karmada-bot
97e859525a
Merge pull request #2895 from ikaven1024/fix-ut-hassynced
...
fix ut: HasSynced error
2022-12-01 16:13:45 +08:00
karmada-bot
2224d1e700
Merge pull request #2882 from Zhuzhenghao/registry.k8s.io
...
Move to registry.k8s.io
2022-12-01 15:08:03 +08:00
yingjinhui
b1e5bf093b
fix ut: HasSynced error
...
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-01 14:54:52 +08:00
karmada-bot
b94500a27d
Merge pull request #2893 from Fish-pro/clean/errlint
...
Use errors.Is to check for a specific error
2022-12-01 12:17:13 +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
chen zechun
3c80772667
Modify error comparison
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-11-30 21:02:59 +08:00
RainbowMango
873cd9f3e6
Nominate resource interpreter owners
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-30 18:03:13 +08:00
chaunceyjiang
05a235caa2
go1.19: change some atomic.Value to atomic.Bool
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-11-30 10:53:48 +08:00
zhuzhenghao
915b1857c9
Move to registry.k8s.io
...
Signed-off-by: zhuzhenghao <zhenghao.zhu@daocloud.io>
2022-11-29 18:55:22 +08:00
karmada-bot
84b971a501
Merge pull request #2773 from Poor12/add-dependencies-event
...
Add getDependencies and syncScheduleResultToDependencies event
2022-11-29 15:37:11 +08:00
chaunceyjiang
200a58768e
add implicit priority for OP and COP
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-11-29 11:26:24 +08:00
carlory
1b33ef882b
move validation funcs into util/validation
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-11-29 10:30:17 +08:00
karmada-bot
32291dfc53
Merge pull request #2877 from Poor12/featuregate-beta
...
Evolute CustomizedClusterResourceModeling to Beta and enable it by default
2022-11-28 21:30:11 +08:00
karmada-bot
3f21fc1ab4
Merge pull request #2755 from chaunceyjiang/resourceInterpreter
...
Implement ResourceInterpreterCustomization ValidatingAdmission
2022-11-28 20:42:17 +08:00
Poor12
a8dae55164
evolute CustomizedClusterResourceModeling FeatureGate to Beta abd enable it by default
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-28 20:25:21 +08:00
karmada-bot
b43e3ea5cb
Merge pull request #2876 from jwcesign/enable-feature
...
Evolute Failover/GracefulEviction FeatureGate to beta version and enable it by default
2022-11-28 19:58:11 +08:00
karmada-bot
1545f16454
Merge pull request #2869 from RainbowMango/pr_update_interpreter_api
...
Update ResourceInterpreterCustomization comments according to implementation
2022-11-28 18:42:11 +08:00
jwcesign
fe76107d4f
Evolution failover to beta version
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-28 18:38:44 +08:00
chaunceyjiang
0c16431a51
Implement ResourceInterpreterCustomization ValidatingAdmission
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-11-28 18:30:43 +08:00
karmada-bot
9f660f8e56
Merge pull request #2868 from Poor12/add-metrics-for-resource
...
Add metrics for resource
2022-11-28 18:10:11 +08:00
karmada-bot
d7b3a1cad4
Merge pull request #2864 from ikaven1024/pr-luavm
...
improve lua vm executing with pool
2022-11-28 18:07:10 +08:00
karmada-bot
63b2dccbbf
Merge pull request #2875 from XiShanYongYe-Chang/evolute-PropagateDeps-FeatureGate-to-Beta
...
evolute PropagateDeps FeatureGate to Beta and enable it by default
2022-11-28 18:06:11 +08:00
karmada-bot
c416581aa9
Merge pull request #2835 from Poor12/add-event-for-gracefuleviction
...
Add events for graceful eviction controller
2022-11-28 17:59:10 +08:00
RainbowMango
1c1e7b0e53
Update ResourceInterpreterCustomization comments according to implementation
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-28 17:08:44 +08:00
yingjinhui
47e7e8da8d
improve lua vm executing with pool
...
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-11-28 15:45:12 +08:00
karmada-bot
eb3763c201
Merge pull request #2824 from ikaven1024/interpret-ctl-execute
...
add execute mod for interpret command
2022-11-28 15:21:10 +08:00
Poor12
7013563291
add metrics for resource
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-28 14:38:22 +08:00
yingjinhui
4a37e9ce91
add execute mode for karmadactl interpret subcommand
...
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-11-28 14:26:36 +08:00
changzhen
264e8bfbf9
evolute PropagateDeps FeatureGate to Beta
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-28 11:47:23 +08:00
karmada-bot
1975a145d0
Merge pull request #2682 from jwcesign/ut-v3
...
ut:add ut for token.go
2022-11-28 10:06:11 +08:00
karmada-bot
f71e9b171c
Merge pull request #2858 from carlory/fix-resourceselector
...
fix setting resource selector default namespace for policy
2022-11-28 09:42:10 +08:00
carlory
990c079eb6
fix setting resource selector default namespace for policy
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-11-26 19:09:46 +08:00
stingshen
d1e3977994
do not propagate finalizers to member cluster
...
Signed-off-by: stingshen <stingshen@126.com>
2022-11-26 17:24:44 +08:00
jwcesign
92cfe28c3e
ut:add ut for token.go
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-26 16:52:59 +08:00
Garrybest
470ba50455
get max weight for a cluster when construct weight list
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-11-26 10:55:16 +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
karmada-bot
60bc53ad66
Merge pull request #2849 from carlory/validate-cluster-fields
...
validate cluster fields
2022-11-25 17:28:09 +08:00
karmada-bot
80f3778908
Merge pull request #2867 from chaunceyjiang/painc
...
fix karmadactl interpret panic
2022-11-25 15:51:09 +08:00
carlory
1718fd3538
validate cluster fields
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-11-25 11:19:53 +08:00
karmada-bot
d07a858a73
Merge pull request #2861 from lonelyCZ/pr-fix-register
...
Fix karmadactl register failed to read kubeconfig file
2022-11-25 10:31:08 +08:00
karmada-bot
6ef120f6e1
Merge pull request #2496 from Poor12/controller-metrics
...
Add metrics for cluster
2022-11-25 09:25:08 +08:00
chaunceyjiang
2deab7877f
fix karmadactl interpret panic
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-11-24 22:06:00 +08:00
lonelyCZ
d398d630f4
Fix karmadactl register failed to read kubeconfig file
...
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-24 14:35:14 +08:00
karmada-bot
63a67d7cbd
Merge pull request #2825 from jwcesign/code-review-fix
...
Add more logs and delete some redundant code
2022-11-24 14:28:07 +08:00
karmada-bot
dfd0ace0b1
Merge pull request #2830 from Poor12/add-event-for-mcs
...
Add events for MCS
2022-11-24 10:47:07 +08:00
Poor12
ddf05632fa
add event for mcs
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-24 09:38:11 +08:00
karmada-bot
e25547dcf7
Merge pull request #2857 from RainbowMango/pr_update_go_for_14
...
Update Golang version from v1.18.3 to v1.19.3
2022-11-24 09:24:06 +08:00
karmada-bot
61110bb557
Merge pull request #2855 from carlory/fix-scheduler-and-descheduler
...
fix descheduler estimator connection error
2022-11-23 19:49:07 +08:00
RainbowMango
f8646f5d91
Update Golang version from v1.18.3 to v1.19.3
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-23 19:47:12 +08:00
carlory
a98a551c5d
fix deschedulerestimator connection error
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-11-23 17:02:01 +08:00
Poor12
22d372ba79
add metrics for cluster
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-23 16:32:26 +08:00
jwcesign
2c3141980e
Add more logs and delete some redundant code
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-23 16:12:13 +08:00
karmada-bot
149e0fb867
Merge pull request #2848 from XiShanYongYe-Chang/support-multi-resourceinterpretercustomization
...
support users can define multiple resourceinterpretercustomization
2022-11-23 15:50:07 +08:00
changzhen
b1977be9e5
support users can define multiple resourceinterpretercustomization
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-23 14:55:01 +08:00
karmada-bot
23db2ac9d6
Merge pull request #2847 from RainbowMango/pr_kube_dep_125
...
Update Kubernetes dependencies to v1.25.4
2022-11-23 11:11:08 +08:00
RainbowMango
37ba914420
quick fix for StandardStorage interface extension
...
quick fix for kubectl apply options validation
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-23 09:52:48 +08:00
RainbowMango
681b9464d2
Update Kubernetes dependencies to v1.25.4
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-22 16:45:35 +08:00