Commit Graph

2149 Commits

Author SHA1 Message Date
Poor12 9ee205fcb1 fix generation inconsistent
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-27 11:26:45 +08:00
karmada-bot ec7b3b14c6
Merge pull request #3381 from XiShanYongYe-Chang/e2e-case-clusteraffinities
flake: [ClusterAffinities] propagation testing
2023-04-27 09:10:12 +08:00
changzhen 467adcf0b6 add worker for cluster update in scheduler
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-04-26 18:29:51 +08:00
RainbowMango 7f484fd463 Revert "avoid the same cluster appearing in both spec.clusters and spec.gracefulEvictionTasks"
This reverts commit da44a5d9f9.

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-04-26 15:17:27 +08:00
karmada-bot 22fb1d0321
Merge pull request #3283 from Poor12/fix-graceful-eviction
Avoid the same cluster appearing in both spec.clusters and spec.gracefulEvictionTasks
2023-04-26 10:10:11 +08:00
karmada-bot 6d4cb3d8b9
Merge pull request #3456 from jwcesign/fix-1
Correct the issue of adding duplicate eviction tasks
2023-04-26 10:01:11 +08:00
karmada-bot 027d514cab
Merge pull request #3431 from mkloveyy/webhook-comment
Add more detail comments for AggregatedStatus field
2023-04-25 17:18:11 +08:00
jwcesign e1b9e1724a Fix add same eviction tasks multiple times
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-04-25 14:25:06 +08:00
ma_k 5c08aa4787 Add more detail comments for AggregatedStatus field
Signed-off-by: mkloveyy <halfpig0627@163.com>
2023-04-25 13:25:02 +08:00
yike21 cb069867af rename advancedcronjob directory, and fix the retention operation for broadcastjob
Signed-off-by: yike21 <yike21@qq.com>
2023-04-25 10:51:47 +08:00
karmada-bot 27862f77f7
Merge pull request #3442 from chaunceyjiang/AffinityName
fix: affinityName can be set to an empty string
2023-04-25 10:31:10 +08:00
Poor12 da44a5d9f9 avoid the same cluster appearing in both spec.clusters and spec.gracefulEvictionTasks
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-25 10:22:08 +08:00
karmada-bot 2ef01942f1
Merge pull request #3395 from realnumber666/add-unit-test
Add UT for workstatus.go and taint.go and rule.go
2023-04-24 19:56:11 +08:00
Poor12 2c9d900c28 add some fields for GracefulEvictionTask
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-24 14:59:27 +08:00
chaunceyjiang 6fb9329b29 fix: affinityName can be set to an empty string
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-24 12:55:46 +08:00
rayywu 4c66528ae1 Add UT for workstatus.go and taint.go and rule.go
Signed-off-by: rayywu <rayywu@tencent.com>
2023-04-24 00:21:19 +08:00
karmada-bot 38126160c7
Merge pull request #3402 from ikaven1024/proxy
fix paging list in karmada search proxy
2023-04-23 09:15:09 +08:00
karmada-bot b118a73ba1
Merge pull request #3433 from chaunceyjiang/prefix-namespace
feat: allows users to propagate resources under the Kubernetes reserved namespace.
2023-04-21 10:52:07 +08:00
chaunceyjiang 1f42f7f1e5 feat: allows users to propagate resources under the Kubernetes reserved namespace.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-20 19:05:33 +08:00
yingjinhui 89245212c8 fill cluster rv in proxying list
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2023-04-20 18:58:55 +08:00
karmada-bot 7b1ddc9ee1
Merge pull request #3407 from Poor12/webhook-change
Add validation for failover
2023-04-20 17:32:07 +08:00
karmada-bot ed2b101c44
Merge pull request #2999 from ctripcloud/update-resolver
Support Connection to ResourceInterpretWebhook without DNS Service
2023-04-20 16:36:13 +08:00
Poor12 74e030af81 add validation for failover
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-20 14:56:16 +08:00
karmada-bot 2be4b33d01
Merge pull request #3425 from neteric/fix-retainPodFielsIncludeInitContainer
Fix func retainPodFields not include initContainer'volumesMounts bug
2023-04-19 17:33:06 +08:00
karmada-bot 507e66f6c6
Merge pull request #3373 from chaunceyjiang/wildcards
feat: Allows setting wildcards for SkippedPropagatingNamespaces
2023-04-19 17:18:11 +08:00
chaunceyjiang 593264e2c6 Allows setting wildcards for SkippedPropagatingNamespaces
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-19 13:16:06 +08:00
karmada-bot b9ba007913
Merge pull request #3399 from Poor12/binding-api-change
Binding API modification adaptation to implement application failover
2023-04-19 11:26:12 +08:00
Poor12 433ccb0d0f add api to binding
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-18 19:55:47 +08:00
whitewindmills 5bb8eae68f Avoid accidental impact for rb/crb's pointer on the cache
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-18 16:45:53 +08:00
neteric a95b576812 Fix func retainPodFields not include initContainer'volumesMounts bug
Signed-off-by: neteric <net.eric.zhang@gmail.com>
2023-04-18 15:51:59 +08:00
karmada-bot ea128f9c41
Merge pull request #3411 from xigang/clustercontroller/logs
cleanup:cluster controller log missing clustername
2023-04-18 11:36:05 +08:00
xigang 6aac228706 cleanup: remove unused cluster controller log
Signed-off-by: xigang <wangxigang2014@gmail.com>
2023-04-17 17:23:01 +08:00
chaunceyjiang 77e2157cf8 CommandArgsOverrider supports Job
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-17 14:32:33 +08:00
karmada-bot 4552a19ee9
Merge pull request #3392 from yike21/add-unit-test
add unit test for pkg/resourceinterpreter/default/native/dependencies.go
2023-04-17 11:49:04 +08:00
lxtywypc 71ffbf429a use ClusterIPServiceResolver instead of DefaultServiceResolver to eliminate dependency of DNS
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-04-17 10:42:43 +08:00
karmada-bot ab9404a331
Merge pull request #3368 from yike21/bundle-kruise-resources-cronjob
add customizations for apps.krusie.io/v1alpha1/AdvancedCronJob
2023-04-14 16:49:02 +08:00
yike21 b22cb1ff00 add customizations for apps.krusie.io/v1alpha1/BroadcastJob
Signed-off-by: yike21 <yike21@qq.com>
2023-04-14 15:39:15 +08:00
yike21 9628830a39 add customizations for apps.krusie.io/v1alpha1/AdvancedCronJob
Signed-off-by: yike21 <yike21@qq.com>
2023-04-14 15:33:34 +08:00
yike21 f051591a84 add customizations for apps.krusie.io/v1alpha1/DaemonSet
Signed-off-by: yike21 <yike21@qq.com>
2023-04-14 11:06:08 +08:00
karmada-bot c3d54ccccf
Merge pull request #3352 from yike21/bundle-kruise-resources-statefulset
add customizations for apps.krusie.io/v1beta1/StatefulSet
2023-04-14 11:03:01 +08:00
yike21 0fc88877f3 add customizations for apps.krusie.io/v1beta1/StatefulSet
Signed-off-by: yike21 <yike21@qq.com>
2023-04-14 00:08:41 +08:00
yike21 217657af36 Add customizations for apps.krusie.io/v1alpha1/CloneSet
Signed-off-by: yike21 <yike21@qq.com>
2023-04-13 20:42:25 +08:00
yike21 18ebee199f add unit test for pkg/resourceinterpreter/default/native/dependencies.go
Signed-off-by: yike21 <yike21@qq.com>
2023-04-13 17:56:55 +08:00
RainbowMango a381373967 Setup interpreter owners
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-04-13 11:30:39 +08:00
karmada-bot ef774d2863
Merge pull request #3342 from Poor12/add-health-api
Add failover APIs in policy
2023-04-12 18:47:00 +08:00
Poor12 34f481201c add failover apis
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-12 17:30:08 +08:00
chaunceyjiang 6f3afbdbf2 fix: validates predicate path
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-12 13:47:28 +08:00
karmada-bot b273800421
Merge pull request #3376 from niuyueyang1996/fix-object-same-point
karmada-search: fix the problem that ResourceVersion base64 encrypted repeatedly when starting multiple informer to watch resource
2023-04-11 15:24:59 +08:00
karmada-bot 4133d5936a
Merge pull request #2768 from chaunceyjiang/predefinedConfigurableInterpreter
feat: predefined configurableInterpreter
2023-04-11 10:50:58 +08:00
niuyueyang daeac005d8 if start many watcher to watch pod.
pod resourceVersion will base64 duplicate.
soo deepCopy event.

Signed-off-by: niuyueyang <719415781@qq.com>
2023-04-10 20:01:11 +08:00
karmada-bot 0b640f7785
Merge pull request #3371 from Poor12/fix-scheduler-duplicated
Unify the assign replicas when duplicated
2023-04-10 19:27:58 +08:00
karmada-bot 9b4c9a8222
Merge pull request #3364 from whitewindmills/patch-util
use patch helper instead of jsonpatch
2023-04-10 19:10:58 +08:00
chaunceyjiang 538d8f10e0 Add a third-party configurable interpreter for some well-known third-party projects.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-10 15:21:51 +08:00
karmada-bot a7ae11c73d
Merge pull request #3123 from WulixuanS/fix/genericmanager
Avoid multiple executions after rlock in concurrent scenarios
2023-04-10 13:59:58 +08:00
karmada-bot 45fcc38535
Merge pull request #3315 from helen-frank/feature/parseSingle
parseSingle: add test
2023-04-10 10:59:58 +08:00
helen 94a78f9ab0 parseSingle add test
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-04-10 09:56:34 +08:00
karmada-bot 115d06eeee
Merge pull request #3357 from whitewindmills/sc-validation
fix that multiple same spread constraints are allowed
2023-04-08 09:01:55 +08:00
Poor12 b61a87e7cc unify the assign replicas when duplicated
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-07 09:28:44 +08:00
karmada-bot 7589eaec60
Merge pull request #3321 from Poor12/fix-duplicated
Do not revise replicas when strategy is duplicated
2023-04-07 08:11:55 +08:00
karmada-bot 31b5088baf
Merge pull request #3326 from my-git9/feat/ignorens
feat: add --purge-namespace flags for `karmadactl deinit`, and default not delete namespace
2023-04-06 20:07:55 +08:00
whitewindmills b15e43251b use patch helper instead of jsonpatch
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-06 16:04:58 +08:00
Poor12 75c638ddc1 do not revise replicas when duplicated
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-06 15:05:45 +08:00
wulixuan 8c63c146a4 Avoid multiple executions after rlock in concurrent scenarios
Signed-off-by: wulixuan <wulixuan@bilibili.com>
2023-04-06 13:49:04 +08:00
karmada-bot 13ecfa5f46
Merge pull request #3345 from my-git9/feat/hub
Support specify global image registry for enable addons
2023-04-06 09:52:55 +08:00
xin.li fe6febba0d feat: add --purge-namespace flags for karmada deinit
`karmada deinit` default not delete namespace

Signed-off-by: xin.li <xin.li@daocloud.io>
2023-04-04 23:58:05 +08:00
changzhen 1d0e6ced65 fix an issue where DeepEqual becomes invalid in aggregate binding status
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-04-04 16:32:16 +08:00
karmada-bot cbf5c4a829
Merge pull request #3346 from Poor12/do-not-reschedule
[Performance] Do not schedule when status/metadata of binding update
2023-04-04 11:11:53 +08:00
karmada-bot 8bec671e21
Merge pull request #3339 from yike21/bundle-kruise-resources-1
Add a function getPodDependencies for InterpretDependency operation
2023-04-04 10:55:53 +08:00
karmada-bot 949d5893a4
Merge pull request #3350 from realnumber666/add-unit-test
Add UT for deploy.go
2023-04-04 10:12:53 +08:00
xin.li 8adc86e7e4 feat: support specify global image registry for addons
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-04-04 09:44:47 +08:00
Poor12 8d9538b9c9 do not scheudle when status/metadata change
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-03 19:35:42 +08:00
rayywu 4335107894 Add UT for deploy.go and cluster_condition_cache.go
Signed-off-by: rayywu <rayywu@tencent.com>
2023-04-03 17:25:33 +08:00
whitewindmills 9a408ab3d9 fix that multiple same spread constraints are allowed
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-02 22:52:24 +08:00
whitewindmills 26c787531e add placement helper
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-04-01 16:45:57 +08:00
yike21 9acd98faec Add a function getPodDependencies for InterpretDependency operation
Signed-off-by: yike21 <yike21@qq.com>
2023-04-01 11:42:08 +08:00
wenche e98599504f Fixed the control plane endpointslice cannot be deleted.
Signed-off-by: wenche <wenchuan.zhao@qq.com>
2023-03-31 13:55:55 +08:00
karmada-bot 5194e1761a
Merge pull request #3259 from whitewindmills/spreadconstraints
region selection algorithm optimization
2023-03-30 19:04:49 +08:00
whitewindmills ed2fcea68d add group selection algorithm
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-03-30 17:01:23 +08:00
karmada-bot a44633eebe
Merge pull request #3292 from tedli/master
Add arg to specify cluster domain
2023-03-30 16:04:49 +08:00
lizhen6 06adeb96dc customizable cluster domain
Signed-off-by: lizhen6 <lizhen6@360.cn>
2023-03-30 14:03:54 +08:00
chaunceyjiang 7e2097f1f3 Optimize code directory structure.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-03-30 11:49:16 +08:00
lonelyCZ 59ef6279f3 Support to run karmadactl init within a pod
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2023-03-29 10:53:46 +08:00
karmada-bot 1d030d4f8c
Merge pull request #3317 from helen-frank/feature/BuildClusterConfig
BuildClusterConfig:use rest.Config and check ca exist
2023-03-25 10:26:48 +08:00
karmada-bot d4c1918868
Merge pull request #3297 from realnumber666/add-unit-test
Add UT for deploy.go and statefulset.go
2023-03-24 19:57:46 +08:00
rayywu b7c5bc196b Add UT for deploy.go and statefulset.go
Signed-off-by: rayywu <rayywu@tencent.com>
2023-03-24 15:23:57 +08:00
karmada-bot 29e9e33157
Merge pull request #3324 from RainbowMango/pr_aa_owner
Set aggregatedapiserver owners
2023-03-24 15:03:27 +08:00
karmada-bot 63cbdf3a4d
Merge pull request #3325 from my-git9/improve/output
chore: improve some format
2023-03-24 12:17:27 +08:00
xin.li 9500fced9b chore: improve some format
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-03-24 11:18:34 +08:00
RainbowMango 0ee519e87f Set aggregatedapiserver owners
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-03-23 17:22:39 +08:00
karmada-bot 861bc7af9c
Merge pull request #3312 from tedli/kindlist
response actual resource list from search api
2023-03-23 14:47:32 +08:00
karmada-bot ef225e46cf
Merge pull request #3290 from Poor12/fix-duplicated
Fix cluster_locality plugin when replicaScheduling is nil
2023-03-23 12:09:25 +08:00
Poor12 fc7d8fa3b8 Fix cluster_locality plugin when replicas == 0
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-03-23 10:58:09 +08:00
karmada-bot d349f001db
Merge pull request #3316 from xigang/cluster_status_controller
Fix: remove the setTransitionTime from cluster status controller.
2023-03-23 10:54:26 +08:00
xigang 4c38c4e6c1 Fix: remove the setTransitionTime method from the cluster status controller
Signed-off-by: xigang <wangxigang2014@gmail.com>
2023-03-23 09:55:07 +08:00
lizhen6 47b0551a56 response actual resource list type
Signed-off-by: lizhen6 <lizhen6@360.cn>
2023-03-22 16:55:13 +08:00
helen 51365952b1 use rest.Config and check ca exist
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-03-22 15:52:55 +08:00
lixingchenDaoCloud 2eaf3301b8 remove bootstrapKubeConfigFile error not check
Signed-off-by: lixingchenDaoCloud <captainchina_li@163.com>
2023-03-22 15:04:42 +08:00
ericzhang 7dd581f016 add interpretPodHealth to DefaultHealthInterpreter
Signed-off-by: neteric <net.eric.zhang@gmail.com>
2023-03-21 14:39:48 +08:00
lonelyCZ fb273dc715 Fixed unable to view the options for karmadactl addons enable/disable
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2023-03-20 22:30:58 +08:00
karmada-bot 0bbf03d323
Merge pull request #3266 from my-git9/addons-confirm
feat: add flags of force for addon disable
2023-03-20 20:32:24 +08:00