Commit Graph

1873 Commits

Author SHA1 Message Date
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
carlory d8246db213 karmadactl: add liveness probe into kube-controller-manager
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-11-16 17:51:01 +08:00
karmada-bot ba084975d7
Merge pull request #2794 from jameszhangyukun/pr-interpret-interfaces
Resource Interpreter implements the interfaces
2022-11-16 17:43:59 +08:00
karmada-bot 8ed80ad4ac
Merge pull request #2786 from XiShanYongYe-Chang/fix-2779
[bugfix] ignore resource that do not match with policy before apply policy
2022-11-16 16:16:05 +08:00
karmada-bot a16710a94e
Merge pull request #2790 from lonelyCZ/pr-fix-idempotency
Fix some call errors of `idempotency.go`
2022-11-16 15:23:59 +08:00
karmada-bot cf2faa2ee3
Merge pull request #2785 from wuyingjun-lucky/addons_owns
Put wuyingjun-lucky onto karmadactl addons owner list
2022-11-16 14:09:04 +08:00
karmada-bot d925db2806
Merge pull request #2796 from Poor12/add-auth-event
Add SyncImpersonationConfig event
2022-11-16 12:50:31 +08:00
karmada-bot 190e025364
Merge pull request #2746 from cmicat/change-multi-cluster-resource-version-format
Resource Aggregation Proxy: make multi cluster ResourceVersion string stable
2022-11-16 12:14:36 +08:00
Poor12 f4a37c7cbf add SyncImpersonationConfig event
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-16 11:54:32 +08:00
karmada-bot 5895d73838
Merge pull request #2809 from Poor12/fix-ut
Fix ut failure
2022-11-16 11:45:04 +08:00
lonelyCZ 3dd4f3a97b Fix some call errors of idempotency.go
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-16 11:22:40 +08:00
karmada-bot 14f6a8893d
Merge pull request #2807 from Poor12/refactor-event
Refactor and organize events in unison
2022-11-16 11:13:26 +08:00
zhangyukun 04191b7dc6 Resource Interpreter implements the interfaces
Signed-off-by: zhangyukun <38148677+jameszhangyukun@users.noreply.github.com>
2022-11-16 10:55:16 +08:00
raymondmiaochaoyue 0dc6ab974a make multi cluster ResourceVersion string stable
Signed-off-by: raymondmiaochaoyue <raymondmiaochaoyue@didiglobal.com>
2022-11-16 10:51:15 +08:00
karmada-bot ff7d1a9e15
Merge pull request #2791 from helen-frank/feature/UseIdempotency
Karmadactl init use idempotency acceleration
2022-11-16 10:31:26 +08:00
Poor12 83a45b2878 fix ut failure
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-16 10:30:46 +08:00
changzhen c58ba70b86 ignore resource that do not match with policy before apply policy
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-15 20:21:54 +08:00
Poor12 5418b5d265 refactor events
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-15 15:34:22 +08:00
karmada-bot d653b7aa21
Merge pull request #2795 from jwcesign/use-image-in-docker
Download images from dockerhub by default
2022-11-15 14:42:25 +08:00
karmada-bot e7c9cd0ccf
Merge pull request #2803 from ikaven1024/pr-improve-decodeValue
improve decodeValue for Lua
2022-11-15 12:10:04 +08:00
karmada-bot 67ae3fa68e
Merge pull request #2797 from ikaven1024/fix-luaconversion
fix error when convert from empty lua table
2022-11-15 12:03:09 +08:00
karmada-bot af88d9316b
Merge pull request #2767 from jwcesign/pp-priority
Implement priority of PropagationPolicy
2022-11-15 10:10:06 +08:00
jwcesign 4c6fc6e367 Implement priority of PropagationPolicy/ClusterPropagationPolicy
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-14 23:07:38 +08:00
yingjinhui 90b7a4b096 improve decodeValue for Lua
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-11-14 20:47:26 +08:00
cleverhu 136429ed04 fix etcd sts name hardcode
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
2022-11-14 19:25:29 +08:00
helen 3950562360 Karmadactl init use idempotency acceleration
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-11-14 18:10:26 +08:00
yingjinhui 5cc6d813ab fix error when convert empty lua table
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-11-14 17:30:05 +08:00
karmada-bot aeac17b77d
Merge pull request #2793 from helen-frank/feature/OptimizationParseIP
optimize ParseIP
2022-11-14 16:27:01 +08:00
helen 6fcd98264f optimize ParseIP
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-11-14 15:06:10 +08:00
jwcesign 6fbcf8cf9d Change repo to dockerhub
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-14 11:30:02 +08:00
karmada-bot bc7b298c40
Merge pull request #2761 from ikaven1024/pr-mem-clientset
refactor util.BuildClusterConfig
2022-11-14 09:42:57 +08:00
karmada-bot 25abf99991
Merge pull request #2505 from cleverhu/fix-namespace-already-exist
fix namespace already exist
2022-11-13 20:16:57 +08:00
wuyingjun 2c75928c80 put wuyingjun-lucky onto karmadactl addons owner list
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-11-13 12:02:10 +08:00
karmada-bot 3cbae40434
Merge pull request #2771 from wuyingjun-lucky/nil_resource_selector
Fix overridepolicy with nil resource selector could not work
2022-11-13 10:41:56 +08:00
wuyingjun 41b1cc4c8c fix overridepolicy with nil resource selector could not work
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-11-12 17:36:30 +08:00
karmada-bot 60d8bcbe72
Merge pull request #2770 from Poor12/add-policy-event
Add reflectStatusToWork and InterpretHealth event
2022-11-11 13:03:56 +08:00
Poor12 840de4fc84 add reflectStatusToWork and InterpretHealth event
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-11 12:07:49 +08:00
RainbowMango 773c7ff5d7 Introduce priority to both PropagatioonPolicy and ClusterPropagationPolicy
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-11 11:07:13 +08:00
karmada-bot f0d1e9b68a
Merge pull request #2664 from lonelyCZ/pr-package-karmadactl-subcmd
Package subcommands of karmadactl to make it clearer
2022-11-11 09:43:56 +08:00
lonelyCZ faa6b64cd6 Package subcommands of karmadactl to make it clearer
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-10 14:31:57 +08:00
karmada-bot b9612c2e83
Merge pull request #2765 from Poor12/fix-io-readall
Add limitReader to io.ReadAll
2022-11-10 11:23:20 +08:00
karmada-bot 393fb9d598
Merge pull request #2684 from helen-frank/feature/NewFactoryMerge
New Factory global flags merge function
2022-11-10 10:00:20 +08:00
changzhen 5a767f4f21 allow to update the resourceSelector of PropagationPolicy/ClusterPropagationPolicy
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-09 16:40:57 +08:00
karmada-bot 55b27201f9
Merge pull request #2759 from wuyingjun-lucky/clean_up
remove overridepolicy trigger on cluster_resource_binding_controller
2022-11-09 15:16:53 +08:00
karmada-bot 5c93f5ed67
Merge pull request #2763 from yanggangtony/update-desc
fix wrong description for "dry-run" option.
2022-11-09 13:53:19 +08:00
Poor12 64eff43fdb Add limitReader to io.ReadAll
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-09 12:19:13 +08:00
yanggang e040e0ef3c
fix wrong description for "dry-run" option
Signed-off-by: yanggang <gang.yang@daocloud.io>
2022-11-09 11:24:10 +08:00
helen 3e774496cf New Factory global flags merge.
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-11-09 10:43:15 +08:00
Poor12 ac6aaa31f1 add override policy event
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-09 10:25:23 +08:00
cleverhu 9b1baeb1d7 fix namespace already exist
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
2022-11-09 10:15:52 +08:00
yingjinhui 2d6f491c61 refactor util.BuildClusterConfig
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-11-09 00:26:19 +08:00
helen 7273a58f64 karmadactl uncordon add dryrun
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-11-08 23:35:05 +08:00
wuyingjun 81d8fdd1a6 remove overridepolicy trigger on cluster_resource_binding_controller
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-11-08 21:39:32 +08:00
karmada-bot 6502bda995
Merge pull request #2688 from Poor12/improve-cluster-event
Add the CreateExecutionSpaceSucceed and RemoveExecutionSpaceSucceed event
2022-11-08 19:45:52 +08:00
zhangyukun d4e5f04791 Resource Interpreter framework introduce Lua runtime layer
Signed-off-by: zhangyukun <38148677+jameszhangyukun@users.noreply.github.com>
2022-11-08 09:17:33 +08:00
karmada-bot abad935461
Merge pull request #2752 from lonelyCZ/pr-join-factory
karmadactl join/unjoin use factory to access control plane
2022-11-07 16:58:30 +08:00
lonelyCZ 3dc11037cc karmadactl join/unjoin use factory to access control plane
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-07 16:02:45 +08:00
karmada-bot c622e230a3
Merge pull request #2719 from jameszhangyukun/cache-framework
Resource Interpreter Framework cache and reorganize configurations
2022-11-07 15:11:30 +08:00
zhangyukun a3c50e7e86 Resource Interpreter Framework cache and reorganize configurations
Signed-off-by: zhangyukun <38148677+jameszhangyukun@users.noreply.github.com>
2022-11-07 13:42:00 +08:00
karmada-bot 052de02155
Merge pull request #2694 from lonelyCZ/pr-promote-factory
karmadactl promote uses factory to access cluster
2022-11-07 09:56:48 +08:00
karmada-bot 60d04d2ff6
Merge pull request #2673 from RachaelLuo/feature/CmdInitEmptyArgs
Add arges check for karmadactl deinit
2022-11-07 09:48:29 +08:00
yanggang a0a7674d26
reuse context for controller-manager base-context
Signed-off-by: yanggang <gang.yang@daocloud.io>
2022-11-05 18:51:06 +08:00
Garrybest 75a3a91994 add Garrybest as descheduler owner
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-11-05 11:03:41 +08:00
lonelyCZ 7b44385441 karmadactl promote uses factory to access cluster
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-04 15:18:48 +08:00
wlp1153468871 c5f64c7d2c Make event messages more readable
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-11-04 14:27:41 +08:00
karmada-bot 23a0955129
Merge pull request #2734 from XiShanYongYe-Chang/fix-2727
Disable the preemption matching of pp/cpp priority
2022-11-03 22:15:26 +08:00
changzhen bc57544df8 Disable the preemption matching of pp/cpp priority
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-03 20:54:13 +08:00
宋文杰 39e4b34fe8 karmadactl token:print correct register command according to the karmada-context flag
Signed-off-by: 宋文杰 <wenjie.song@daocloud.io>
2022-11-03 14:45:29 +08:00
karmada-bot 7c8f237d29
Merge pull request #2730 from lonelyCZ/pr-fix-token
Fix karmadactl token that can't set `--kubeconfig`
2022-11-03 12:13:26 +08:00
Poor12 e438cfcf75 add CreateExecutionSpaceSucceed and RemoveExecutionSpaceSucceed event
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-11-03 11:48:10 +08:00
calvin 965bcc11c0 optimize collectIDForClusterObjectIfNeeded error message
Signed-off-by: calvin <wen.chen@daocloud.io>
2022-11-02 15:47:32 +08:00
lonelyCZ 54ea4f4be1 Fix karmadactl token that can't set --kubeconfig
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-02 15:39:19 +08:00
karmada-bot f6780c2e97
Merge pull request #2725 from XiShanYongYe-Chang/add-ut-for-pp-priority
add ut for policy priority
2022-11-02 12:45:43 +08:00
changzhen d62cf8b20e add ut for policy priority
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-02 11:36:58 +08:00
karmada-bot f32741e13f
Merge pull request #2724 from lonelyCZ/pr-karmadactl-util-idempotency
Fix and unify `CreateOrUpdateXXX` functions for karmadactl
2022-11-02 11:32:25 +08:00
karmada-bot 7be4f865e7
Merge pull request #2714 from Garrybest/pr_estimator
fix bugs of nodeMaxAvailableReplica
2022-11-02 09:34:25 +08:00
Garrybest 8e940e1006 fix bugs of nodeMaxAvailableReplica
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-11-01 21:47:29 +08:00