Commit Graph

1941 Commits

Author SHA1 Message Date
karmada-bot dd0f904081
Merge pull request #3165 from Poor12/refactor-codes
Refactor scheduler interfaces
2023-02-18 10:59:58 +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