karmada-bot
dd16753c20
Merge pull request #3156 from lonelyCZ/pr-cert-validity-period
...
Make the validity period of cert configurable
2023-02-20 12:46:06 +08:00
jwcesign
ab94d95e0c
Use / as the delimiter
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-02-20 11:43:30 +08:00
karmada-bot
b1f8b09d07
Merge pull request #3177 from my-git9/ut-assignment
...
[UT] increase test coverage for core/assignment.go
2023-02-20 11:08:00 +08:00
lonelyCZ
680b05264a
Make the validity period of cert configurable
...
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2023-02-20 10:55:05 +08:00
karmada-bot
4641e88fd2
Merge pull request #3164 from XiShanYongYe-Chang/add-validation-for-orderedClusterAffinities
...
add validation for ClusterAffinities
2023-02-18 17:08:59 +08:00
changzhen
42c2e3c643
add validation for orderedClusterAffinities
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-18 15:45:44 +08:00
changzhen
45340c358e
update ClusterAffinities json name
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-18 11:29:18 +08:00
karmada-bot
dd0f904081
Merge pull request #3165 from Poor12/refactor-codes
...
Refactor scheduler interfaces
2023-02-18 10:59:58 +08:00
xin.li
522c55ce79
[UT] increase test coverage for core/assignment.go
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-18 07:59:48 +08:00
RainbowMango
6aa3ffd6cf
Simply OrderedClusterAffinities API names
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-02-17 16:55:27 +08:00
karmada-bot
d21d57d3f5
Merge pull request #3155 from my-git9/ut-kubeconfig2
...
[UT] improve test for kubeconfig.go
2023-02-17 10:57:58 +08:00
Poor12
a616758eeb
refactor some codes
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-17 10:41:03 +08:00
xin.li
53a160659c
[UT] improve test for kubeconfig.go
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-16 21:49:52 +08:00
RainbowMango
5dc94f40fe
Extend ResourceBinding by adding the SchedulerObservedAffinityName to the status field.
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-02-16 20:09:12 +08:00
karmada-bot
e523977cb0
Merge pull request #3160 from lonelyCZ/pr-fix-update-or-create-token
...
Fix UpdateOrCreateToken get secrets err handling optimization
2023-02-16 19:05:57 +08:00
karmada-bot
0eb69c1e5e
Merge pull request #3150 from XiShanYongYe-Chang/clean-code-for-collect-clusterID
...
remove code for collecting clusterID under upgrading
2023-02-16 18:08:57 +08:00
karmada-bot
149197c01d
Merge pull request #3105 from RainbowMango/pr_cluster_priority_api
...
Propose preferred cluster
2023-02-16 09:46:57 +08:00
lonelyCZ
8b67d22786
Fix UpdateOrCreateToken get secrets err handling optimization
...
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2023-02-15 21:26:38 +08:00
changzhen
b0fe95d60b
remove code for collecting clusterID under upgrading
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-14 10:52:06 +08:00
karmada-bot
a9089325dc
Merge pull request #3145 from my-git9/ut-template
...
[UT] add ut for utils/template.go
2023-02-14 10:03:55 +08:00
xin.li
b3de611707
[UT] add ut for cmdinit/kubeconfig.og
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-13 23:05:41 +08:00
xin.li
4367d8c4b3
[UT] add ut for utils/template.go
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-13 20:43:27 +08:00
karmada-bot
d1bad846a5
Merge pull request #3141 from chaunceyjiang/cleanup
...
Replace "" with NamespaceAll.
2023-02-13 16:56:55 +08:00
RainbowMango
5c30415584
Propose preferred cluster
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-02-13 16:16:42 +08:00
chaunceyjiang
111f6b33e3
Replace "" with NamespaceAll.
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-02-13 14:25:00 +08:00
karmada-bot
b36bc65d14
Merge pull request #2702 from Poor12/add-toleration
...
Add placement for bindingSpec
2023-02-13 11:08:55 +08:00
karmada-bot
dbed0f6d79
Merge pull request #3099 from chaunceyjiang/delete_labels_annotataions
...
feat: support for removing annotations/labels propagated through karmada
2023-02-10 17:14:55 +08:00
chaunceyjiang
df43a00e52
feat: support for removing annotations/labels propagated through karmada
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-02-10 16:00:21 +08:00
Poor12
5eff625925
add placement for binding
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-10 15:18:01 +08:00
karmada-bot
78c3f35cd5
Merge pull request #3132 from Fish-pro/chore/unittest
...
Modify unit tests that never fail
2023-02-10 12:36:52 +08:00
karmada-bot
4012538d39
Merge pull request #3137 from my-git9/ut-cmdinit
...
[UT] add ut for cmdinit/cmdinit.go
2023-02-10 12:21:52 +08:00
karmada-bot
32ed0a4103
Merge pull request #3139 from Poor12/add-scheduler-name-for-metrics
...
Add schedulerName for event
2023-02-10 12:03:53 +08:00
Fish-pro
f888ec07fa
Optimize invalid unit tests
...
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-10 10:59:40 +08:00
karmada-bot
81cac76ac2
Merge pull request #3129 from chaunceyjiang/cronjob
...
feat: default interpreter supports cronJob aggregate status
2023-02-10 10:05:51 +08:00
Poor12
a4354cad38
add schedulerName for event
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-10 09:33:16 +08:00
xin.li
24cc58fcef
[UT] add ut for cmdinit/cmdinit.go
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-09 21:42:59 +08:00
karmada-bot
57236e5ec3
Merge pull request #3134 from Fish-pro/chore/package
...
Clean up repeated package import
2023-02-09 17:10:52 +08:00
karmada-bot
69ecff65d8
Merge pull request #3114 from Poor12/test
...
Detector watch pp fields changed other than resource selector
2023-02-09 16:35:51 +08:00
Fish-pro
108afef91b
Clean up the problem of repeated package import
...
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-09 15:58:22 +08:00
Poor12
9ae3e50ae8
detector watch pp fields changed other than resource selector
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-09 15:16:21 +08:00
chaunceyjiang
bdf4a61ad1
feat: default interpreter supports cronJon aggregate status
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-02-09 11:03:24 +08:00
karmada-bot
59227f0d4a
Merge pull request #3117 from my-git9/utrbac
...
[ut] add ut for utils/rbac.go
2023-02-08 16:34:50 +08:00
karmada-bot
5e81ea6240
Merge pull request #3127 from Poor12/fix-aggregate-pod
...
Fix aggregate pod status when aggregateStatusItems are empty
2023-02-08 10:32:50 +08:00
karmada-bot
7dcb99b8c5
Merge pull request #3115 from VedRatan/issue_3091
...
Replace Hashsets with Sets
2023-02-07 20:34:50 +08:00
Poor12
f0958340ac
fix aggregate pod status
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-07 20:27:01 +08:00
Ved Ratan
2a8c0ff267
replace hashsets with sets
...
Signed-off-by: Ved Ratan <vedratan8@gmail.com>
remove hashset pkg
Signed-off-by: Ved Ratan <vedratan8@gmail.com>
2023-02-07 14:49:33 +05:30
Fish-pro
05c759a19a
Use http constants instead of string
...
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-07 15:51:00 +08:00
xin.li
374d68a663
[ut] add ut for utils/rbac.go
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-07 10:34:27 +08:00
karmada-bot
8a694133c4
Merge pull request #3111 from my-git9/cleanup/nodeut
...
[ut] improve ut coverage for node.go
2023-02-06 14:32:50 +08:00
karmada-bot
c9141eca12
Merge pull request #3110 from my-git9/UT/secret
...
[UT] add ut for kubernetes/secret.go
2023-02-06 09:45:26 +08:00
xin.li
e8a6e50a84
[ut] improve ut coverage for node.go
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-05 18:07:59 +08:00
xin.li
c331bc5a4c
[UT] add ut for kubernetes/secret.go
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-05 12:48:14 +08:00
Poor12
b1f3476b51
clean up unused values
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-03 10:00:47 +08:00
karmada-bot
c9886a01a8
Merge pull request #3093 from Poor12/add-validate
...
Add schedulerName validation
2023-02-02 11:56:33 +08:00
yingjinhui
167e13259f
support pod subresource (attach, exec, port-forward) through global proxy
...
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2023-02-01 19:31:08 +08:00
karmada-bot
8f83031603
Merge pull request #3088 from chaunceyjiang/labels
...
feat: Retain the labels added to resources by member clusters
2023-02-01 15:15:33 +08:00
Poor12
b9e32de35d
add schedulerName validation
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-01 14:47:42 +08:00
chaunceyjiang
d90713bedb
feat: retain labels
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-02-01 14:05:52 +08:00
Poor12
bec9ca1f6a
Support multiple schedulers
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-01 12:00:40 +08:00
karmada-bot
43c1a8c753
Merge pull request #3080 from RainbowMango/pr_update_k8s
...
Update Kubenetes dependencies to v1.26.1
2023-02-01 11:42:22 +08:00
jwcesign
07d220781c
Add ut for service.go
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-01-31 16:37:43 +08:00
RainbowMango
a1e8f164cb
adopt static check issues
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-31 09:22:41 +08:00
karmada-bot
d0c3314f6f
Merge pull request #3061 from jwcesign/ut-node-go
...
Add ut for node.go
2023-01-30 18:08:21 +08:00
RainbowMango
aa620d68a3
Adopt validation changes
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-29 19:59:18 +08:00
RainbowMango
95213cd6f5
Adopt IngressStatus type changes
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-29 18:08:19 +08:00
RainbowMango
c07ad07f3b
Adopt lease name change
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-29 18:08:19 +08:00
RainbowMango
68828d0a48
Adopt kubectl describe command refactor
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-29 18:08:19 +08:00
RainbowMango
c0515acf81
Update Kubernetes dependencies to v1.26.1
...
Update controller-runtime to 0.14.2
Update cluster-api to latest commit
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-29 18:08:19 +08:00
jwcesign
3d8cce7473
Add ut for node.go
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-01-29 10:14:13 +08:00
karmada-bot
6cfc2d0b8d
Merge pull request #3071 from yanggangtony/fix-typo
...
fix typo note for pkg/sharedcli/profileflag/profileflag.go
2023-01-28 16:56:17 +08:00
karmada-bot
9fc1a124b5
Merge pull request #3066 from XiShanYongYe-Chang/add-ut-for-strategy
...
Add ut for cluster registry
2023-01-28 14:32:17 +08:00
yanggang
38a63a8885
fix typo note for pkg/sharedcli/profileflag/profileflag.go
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-01-28 14:14:36 +08:00
changzhen
e070ad779c
add ut for cluster registry
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-01-28 09:11:44 +08:00
karmada-bot
1558ab7bb6
Merge pull request #3062 from RainbowMango/pr_simplify_tests
...
simplify context tests
2023-01-25 10:52:14 +08:00
RainbowMango
88e3c2add1
simplify context tests
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-19 16:57:21 +08:00
jwcesign
b388d30908
Add ut for deployments.go
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-01-18 16:38:44 +08:00
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
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
karmada-bot
9da3e184f9
Merge pull request #2832 from Songjoy/fix-karmada
...
karmadactl register add args check
2022-11-22 16:19:06 +08:00
Garrybest
8d9780f838
refactor static weight strategy
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-11-22 15:28:04 +08:00
karmada-bot
9fc2c4cd6d
Merge pull request #2827 from Garrybest/pr_alg
...
refactor assign replicas strategy
2022-11-22 14:36:05 +08:00
Garrybest
6ef82917ca
refactor assign replicas strategy
...
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-11-22 13:25:20 +08:00
karmada-bot
afd1c074c0
Merge pull request #2812 from Poor12/add-event-for-federated-resource-quota
...
Add event for federatedResourceQuota
2022-11-22 11:58:05 +08:00
Poor12
64f152bb2c
add event for federated resource quota
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-22 10:47:32 +08:00
宋文杰
5185b865f0
karmadactl register add args check
...
Signed-off-by: 宋文杰 <wenjie.song@daocloud.io>
2022-11-22 09:57:17 +08:00
karmada-bot
9605609168
Merge pull request #2750 from ikaven1024/inpreter-ctl
...
add interpret command
2022-11-22 09:54:05 +08:00
yingjinhui
81b2596ec1
add karmadactl interpret subcommand
...
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-11-21 20:18:35 +08:00
karmada-bot
f7cac365d7
Merge pull request #2826 from lonelyCZ/pr-improve-karmadactl-description
...
Improve karmadactl command description
2022-11-21 10:33:04 +08:00
cleverhu
e1e1616197
unify namespace and name style
...
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
2022-11-19 23:42:01 +08:00
karmada-bot
8aa58ec6cf
Merge pull request #2829 from XiShanYongYe-Chang/add-e2e-for-resourceInterpreterCustomization
...
[E2E] add test case for resource interpreter customization
2022-11-19 19:25:29 +08:00
changzhen
2819df4347
add more log info for resource interpreter
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-19 18:15:49 +08:00
karmada-bot
d46db85ba4
Merge pull request #2607 from my-git9/metricstest3
...
add ut for util/metrics
2022-11-19 15:49:02 +08:00
xin.li
fc346e8c51
add ut for util/metrics and remove unused function
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-11-19 10:38:28 +08:00
lonelyCZ
a239d538d1
Fix MutatingWebhookConfig and ValidateWebhookConfig aren't updated
...
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-18 20:30:20 +08:00
lonelyCZ
02fd98a4c1
Improve karmadactl command description
...
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-18 10:00:32 +08:00
cleverhu
47117a27c1
optimize initAPIService
...
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
2022-11-17 14:39:36 +08:00
karmada-bot
9a4a6684c0
Merge pull request #2655 from helen-frank/feature/karmada-image-registry
...
introduce `--private-image-registry` flag to `karmadactl init`
2022-11-17 11:31:11 +08:00
karmada-bot
5d57de320e
Merge pull request #2817 from carlory/add-probe
...
karmadactl: add liveness probe into kube-controller-manager
2022-11-17 11:03:30 +08:00
Poor12
33193b8f9b
add getDependencies and syncScheduleResultToDependencies event
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-17 11:03:05 +08:00
helen
d4f2104b3b
introduce --private-image-registry flag to karmadactl init
...
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-11-17 09:56:28 +08:00
karmada-bot
06ca219b2b
Merge pull request #2787 from helen-frank/feature/KarmadactlGetAddValidateCluster
...
karmadactl get: add validate cluster exist
2022-11-16 23:25:00 +08:00
helen
39baa63c7c
karmadactl get: add validate cluster exist
...
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-11-16 18:31:13 +08:00