Commit Graph

1873 Commits

Author SHA1 Message Date
hejunhua f229d97be9 fix that the InterpretDependency operation is absent in the validating webhook
Signed-off-by: hejunhua <jayfantasyhjh@gmail.com>

fix e2e problem

Signed-off-by: hejunhua <jayfantasyhjh@gmail.com>

fix test case

Signed-off-by: hejunhua <jayfantasyhjh@gmail.com>
2023-01-17 15:14:04 +08:00
karmada-bot 051a0b35ee
Merge pull request #3041 from helen-frank/feature/UseUtilsEnvGetString
use k8s.io/utils/env GetString get env
2023-01-13 10:15:05 +08:00
karmada-bot db4de92607
Merge pull request #3037 from chaunceyjiang/composedlabels
fix: OverridePolicy of labels/annotations with composed-labels
2023-01-13 09:59:05 +08:00
karmada-bot d02a4eed11
Merge pull request #3040 from helen-frank/feature/UpdateOrCreateTokenAddErrProcessing
UpdateOrCreateToken get secrets err handling optimization
2023-01-13 09:40:05 +08:00
chaunceyjiang 55f1a2bfcb fix: OverridePolicy of labels/annotations with composed-labels
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-01-12 21:13:56 +08:00
helen cc759c6706 when UpdateOrCreateToken get secrets, if the error is not a NotFound, the error is thrown in time.
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-01-12 20:58:49 +08:00
karmada-bot b28f6bfc5d
Merge pull request #3043 from wongearl/cleanup/add-unit-test
add UT for SetDefaultClusterResourceModels
2023-01-12 19:32:04 +08:00
wongearl 3c0bd41f80 add UT for ApplyOverridePolicies
Signed-off-by: wongearl <vamliang@163.com>
2023-01-12 17:32:19 +08:00
wongearl 9a46afc301 add UT for SetDefaultClusterResourceModels and MutateClusterTaints
Signed-off-by: wongearl <vamliang@163.com>
2023-01-12 16:16:58 +08:00
helen d9aca2f458 use k8s.io/utils/env GetString get env
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-01-11 01:14:25 +08:00
karmada-bot 07bb65bfe7
Merge pull request #2831 from ikaven1024/interpret-ctl-edit
add edit mode for karmadactl interpreter command
2023-01-10 11:15:03 +08:00
yingjinhui ce158ec243 stop proxy cache asynchronously
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2023-01-09 17:11:40 +08:00
karmada-bot 0330535ed8
Merge pull request #3014 from chaunceyjiang/ValidateReplicaScheduling
fix: Validate replicaSchedulingType and replicaDivisionPreference
2023-01-09 15:43:02 +08:00
chaunceyjiang 7a3207c8ee fix: set the default value of replicaSchedulengType
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-01-09 14:37:20 +08:00
Amir Alavi 05a98cc978
default interpreter aggregate status: set sub-test name and parallelize
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2023-01-08 21:05:45 -05:00
karmada-bot 7b4c541bb8
Merge pull request #3006 from Garrybest/pr_patch
avoid calling apiserver when scheduling result has no changes
2023-01-05 14:48:57 +08:00
karmada-bot 1c612f63b7
Merge pull request #3015 from Fish-pro/cleanup/errorsis
Check for err judgments by `==` and fix it
2023-01-04 17:43:55 +08:00
karmada-bot d34a33edd0
Merge pull request #3010 from yanfeng1992/fixbug-search-notReady-cluster
search filter out not ready cluster
2023-01-03 15:27:54 +08:00
karmada-bot 9118be926f
Merge pull request #3009 from chaunceyjiang/statefulset
built-in interpreter support statefulset
2023-01-03 14:55:55 +08:00
Fish-pro 92c0f9c962 Use errors.Is to check for a specific error
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-01-03 09:44:51 +08:00
yingjinhui f161a2ab5d add edit mode for interpret command
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-30 18:22:40 +08:00
huangyanfeng 04d16b4b29 search filter out not ready cluster
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>

search filter out not ready cluster fix ut

Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>

search filter out not ready cluster fix lint

Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>

search filter out not ready cluster fix log and add comment

Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>

search filter out not ready cluster fix  comment

Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2022-12-30 13:57:37 +08:00
chaunceyjiang 58408c717e built-in interpreter support statefulset
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-12-29 18:38:38 +08:00
karmada-bot 434b7b6578
Merge pull request #3003 from Fish-pro/fix/klogformat
Fix log output errors
2022-12-29 18:06:50 +08:00
Garrybest 6597fafd17 avoid calling apiserver when scheduling result has no changes
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-29 16:40:26 +08:00
karmada-bot a20dd6e630
Merge pull request #2935 from jwcesign/code-review-fix-v2
Delete the redundant logic in func GenerateExecutionSpaceName
2022-12-29 15:39:50 +08:00
chen zechun f3e0b45521 Modify log output errors
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-29 13:58:00 +08:00
karmada-bot 3d06bb84a3
Merge pull request #3000 from Fish-pro/fix/logupperstart
Uniform klog output starts with uppercase
2022-12-29 12:28:50 +08:00
karmada-bot c34c443d2c
Merge pull request #2996 from a7i/interpreter-parallel-tests
default interpreter sub-tests to run in parallel
2022-12-29 09:58:51 +08:00
chen zechun 83d43235e8 Uniform error log output starts with uppercase
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-28 19:12:36 +08:00
karmada-bot eda7814ffc
Merge pull request #2988 from jwcesign/get-ns-first-before-create
Check if the resource exists before creating it
2022-12-28 17:03:50 +08:00
jwcesign 8acd1a4503 Delete the redundant logic in func GenerateExecutionSpaceName
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-12-28 15:59:24 +08:00
Amir Alavi 09ca7f506f
default interpreter sub-tests to run in parallel
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2022-12-27 22:52:19 -05:00
jwcesign c28bac08ca Check if the resource exists before creating it
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-12-28 09:52:58 +08:00
karmada-bot 6af94e239d
Merge pull request #2975 from Poor12/fix-region
[bugfix]when replicaDivisionPreference is Weighted and WeightPreference is nil
2022-12-27 18:16:52 +08:00
karmada-bot c8954de2b0
Merge pull request #2956 from helen-frank/feature/joinUseCurrentContext
Karmadactl join: default use current context
2022-12-23 16:32:48 +08:00
karmada-bot 99a3ad1ff3
Merge pull request #2964 from Garrybest/pr_dispense
refactor dispense replicas for job completions
2022-12-23 16:14:48 +08:00
Poor12 dbcf60a696 log error when replicaDivisionPreference is Weighted and WeightPreference is nil
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-12-23 14:25:18 +08:00
Garrybest 2dd48e029a dispense replicas for job
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-23 10:11:44 +08:00
jwcesign c1747284ef Grant karmada-agent permission to access resourceinterpretercustomizations
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-12-21 12:24:30 +08:00
karmada-bot e355061147
Merge pull request #2966 from Garrybest/pr_recreate
fix RB may not be created when delete and create the same object immediately
2022-12-19 10:19:45 +08:00
Garrybest f94aefaa6b fix RB may not be created when delete and create the same object immediately
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-17 17:21:38 +08:00
chaunceyjiang c3f5eaa3f7 fix failed to apply Label/Annotation Overriders
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-12-16 18:34:33 +08:00
helen c47b53648b Karmadactl join: default use current context
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-12-16 16:49:17 +08:00
karmada-bot 9b626c0f01
Merge pull request #2840 from helen-frank/feature/AddKubeVersion
introduce kube-image-tag flag to karmadactl init
2022-12-16 15:21:43 +08:00
karmada-bot 73a1b8236e
Merge pull request #2946 from Garrybest/pr_division
refactor dynamic schedule
2022-12-16 10:15:42 +08:00
Garrybest b34bb6f13e add dynamic schedule test
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-15 18:58:02 +08:00
Garrybest b4803c42c9 refactor dynamic schedule
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-12-15 18:57:45 +08:00
karmada-bot 6111ad0e69
Merge pull request #2899 from Garrybest/pr_metrics
clean up metrics for scheduler, descheduler and estimator
2022-12-15 16:49:23 +08:00
karmada-bot 08b750d815
Merge pull request #2957 from chaunceyjiang/taint
Add detailed information about the taint
2022-12-15 14:26:24 +08:00