Commit Graph

459 Commits

Author SHA1 Message Date
RainbowMango a30b097f9d Put ikaven1024 to approver list
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-09-29 17:21:55 +08:00
dddddai 01f37c160c adopt transform func to save memory
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-09-16 10:43:05 +08:00
changzhen 4049bf8285 don't consider the older cluster when filter with taint_toleration
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-30 20:52:23 +08:00
karmada-bot ba03782acd
Merge pull request #2397 from Poor12/schedule-based-on-model
Schedule based on cluster resource model
2022-08-27 09:52:55 +08:00
Poor12 6493a49874 schedule based on cluster resource model
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-26 17:31:46 +08:00
karmada-bot 15a2fbc403
Merge pull request #2407 from lonelyCZ/pr-fix-agent
Fix it occur error when `karmada-agent` is restarted
2022-08-23 11:22:50 +08:00
lonelyCZ 8ee19bc1d0 Fix it occur error when karmada-agent is restarted
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-08-23 10:11:01 +08:00
karmada-bot d4692ff4f2
Merge pull request #2389 from ikaven1024/proxy-cache
add proxy cache
2022-08-22 19:33:49 +08:00
yingjinhui 3d8df9c3e0 add proxy cache
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-08-22 18:36:07 +08:00
karmada-bot f6b7511906
Merge pull request #2390 from Poor12/set-default-model-for-cluster
Set default model for cluster
2022-08-19 15:50:46 +08:00
Poor12 d720a5c34f set default model for cluster
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-19 14:53:03 +08:00
karmada-bot 674641c1fa
Merge pull request #2369 from yy158775/id_join
avoid joining the same cluster repeatedly
2022-08-19 14:28:46 +08:00
karmada-bot dd7d70ae6f
Merge pull request #2366 from ikaven1024/feature-proxy
add proxy skeleton
2022-08-18 08:46:45 +08:00
yingjinhui dd1b6e2967 add proxy skeleton
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-08-17 18:55:06 +08:00
RainbowMango 95036ffcda enable node pod list only when needed for better performance
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-17 16:33:38 +08:00
yy158775 23dd9cadcb solve cluster id repeat to join
Signed-off-by: yy158775 <1584616775@qq.com>
2022-08-17 12:05:40 +08:00
jingxueli b3ca4c2ee8 make buildInformerForCluster configurable
Signed-off-by: jingxueli <jingxueli@trip.com>
2022-08-16 21:03:09 +08:00
karmada-bot a1785e89b8
Merge pull request #2373 from Garrybest/pr_cluster
remove TargetCluster when cluster is terminating
2022-08-15 20:33:42 +08:00
Garrybest 5658bdb2c3 remove TargetCluster when cluster is terminating
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-08-15 19:40:13 +08:00
karmada-bot 4dbe338d18
Merge pull request #2377 from Poor12/master
Rename package name of typedmanager
2022-08-15 12:16:41 +08:00
Poor12 1374169fe3 Rename package name of typedmanager
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-08-15 11:26:30 +08:00
changzhen 135efdb4a5 add grace-eviction-controller to evict cluster workload
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-15 09:34:47 +08:00
karmada-bot 66af6ef502
Merge pull request #2313 from yy158775/unique_id
add ID the unique identifier for push and pull mode's cluster
2022-08-12 14:57:10 +08:00
yy158775 474933826b add ID the unique identifier for push and pull mode's cluster
Signed-off-by: yy158775 <1584616775@qq.com>
2022-08-12 09:37:50 +08:00
charlie 34948b7c09 feat: update the dynamic informer in cluster status controller with typed informer
Signed-off-by: charlie <qianglin98@qq.com>
2022-08-11 13:00:31 +08:00
RainbowMango 8461e4fb8c rename and re-organize the informermanager
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-08-09 17:24:23 +08:00
Garrybest c5b35bd199 add default tolerations for pp and cpp
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-08-02 17:20:25 +08:00
hejianpeng c038cdd127 support ClusterOverridePolicy in namespaces_sync_controller
Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
2022-07-28 11:00:32 +08:00
jacky b27bfd6b94 fix uppercase only when it's the comment for exported variable
Signed-off-by: jacky <peng.chen@daocloud.io>
2022-07-25 15:26:37 +08:00
jacky f0ab1dbc50 Comment should start with a whitespace and Uppercase
Signed-off-by: jacky <peng.chen@daocloud.io>
2022-07-25 14:59:23 +08:00
karmada-bot cb2836db29
Merge pull request #2162 from lonelyCZ/pr-karmadactl-checkerr
karmadactl pretty-print the error and exit with an error
2022-07-25 10:02:50 +08:00
Poor12 f9f81280dc Cleanup ClusterClientSetFunc field in execution-controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-07-22 11:38:46 +08:00
Poor12 3ef7798213 Apply cachedRESTMapper for other Karmada components
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-07-21 19:26:52 +08:00
karmada-bot df125af3b0
Merge pull request #2187 from yy158775/learn
Add a New Type cachedRESTMapper
2022-07-21 10:37:45 +08:00
karmada-bot 37ffc7dfd5
Merge pull request #2135 from chaunceyjiang/scheduler_plugins
custom enable or disable of scheduler plugins
2022-07-20 15:59:44 +08:00
yangyong 155e5ed424 feat:add new type cachedRESTMapper to optimize GetGroupVersionResource
Signed-off-by: yy158775 <1584616775@qq.com>
2022-07-20 14:47:53 +08:00
chaunceyjiang fc600ae003 custom scheduler plugin
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-07-20 11:16:02 +08:00
Garrybest e39c5844a7 add option and feature gate for taint manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-07-15 16:29:43 +08:00
Garrybest 1d2028b10f add taint manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-07-15 10:42:38 +08:00
chang.qiangqiang 5fd569b0d6 feat: add cluster agent register flag
Signed-off-by: charlesQQ <charles_ali@qq.com>
2022-07-12 10:15:20 +08:00
lonelyCZ 579926cbf0 karmadactl pretty-print the error and exit with an error
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-07-11 09:40:28 +08:00
charlesQQ 8738617ad0 feat: agent report secret
Signed-off-by: charlesQQ <charles_ali@qq.com>
2022-07-07 14:26:07 +08:00
Poor12 3b5fc38a41 add pprof for all Karmada components
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-07-06 16:39:28 +08:00
Poor12 1613839201 Use custom mux instead of DefaultServeMux
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-07-04 14:52:28 +08:00
karmada-bot dc8177c0bc
Merge pull request #2064 from prodanlabs/fix-scheduler
karmada-scheduler add disable-scheduler-estimator-in-pull-mode flag
2022-06-30 16:52:24 +08:00
prodan 2f35a48c5e add: disable-scheduler-estimator-in-pull-mode flag
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-06-30 12:10:37 +08:00
chang.qiangqiang 0fc2dcc54c feat: add leader election options
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
2022-06-25 19:36:04 +08:00
karmada-bot 7d25a7275b
Merge pull request #2046 from AllenZMC/karmada_search
add health probe for karmada-search
2022-06-25 11:50:16 +08:00
karmada-bot 61072d117c
Merge pull request #2043 from Poor12/test
Add health probe for Karmada-agent
2022-06-24 16:24:16 +08:00
Poor12 a8af99e31c Add health probe for Karmada-agent
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-06-24 14:15:38 +08:00
AllenZMC fbd10be74c add health probe for karmada-search
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-06-24 13:17:14 +08:00
karmada-bot b0150fb030
Merge pull request #1989 from ikaven1024/pr-logs
dump controllerruntime's logs to klog
2022-06-23 16:24:15 +08:00
karmada-bot 2951844b5b
Merge pull request #2049 from wuyingjun-lucky/k8s_cli
Use k8s.io/component-base/cli to run cmd
2022-06-23 14:40:15 +08:00
karmada-bot a2608ace23
Merge pull request #1998 from XiShanYongYe-Chang/cleanup-upgrade-code
Clean-up unused code for upgrade scene
2022-06-23 11:55:15 +08:00
wuyingjun 13f6116104 Use k8s.io/component-base/cli to run cmd
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-06-23 10:14:36 +08:00
karmada-bot c1b6df2a77
Merge pull request #2021 from RainbowMango/pr_lonelycz
Put lonelyCZ to owner files
2022-06-22 08:50:15 +08:00
karmada-bot 3dbccd519e
Merge pull request #1980 from RainbowMango/pr_setup_search_owners
setup karmada-search owners
2022-06-21 20:42:14 +08:00
RainbowMango 5a3266c3e2 Put lonelyCZ to owner files
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-06-17 18:14:09 +08:00
karmada-bot 4c496a3a98
Merge pull request #1884 from dddddai/cluster-status
Add cluster success threshold
2022-06-17 15:46:09 +08:00
yingjinhui e30365cf45 dump controllerruntime's logs to klog
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-06-16 22:56:34 +08:00
dddddai 1ebc680d16 add cluster success threshold
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-06-16 18:02:17 +08:00
changzhen 8ada4671ae clean-up unused code for upgrade scene
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-06-14 10:32:44 +08:00
karmada-bot 5c3336e84c
Merge pull request #1953 from CharlesQQ/karmada-agent-metrics
feat: agent add metrics-bind-address flag
2022-06-13 18:09:04 +08:00
charlesQQ fe40364212 feat: agent add metrics-bind-address flag
Signed-off-by: charlesQQ <charles_ali@qq.com>
2022-06-13 00:09:54 +08:00
RainbowMango 3af32d433d setup karmada-search owners
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-06-09 10:41:19 +08:00
kerthcet 84cc6f8500 Feat: add outOfTree plugin entry when initializing scheduler
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-06-01 20:32:54 +08:00
changzhen b7fe29a5a3 support to search resources with labels
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-31 20:05:37 +08:00
karmada-bot 3f1d0cf81c
Merge pull request #1720 from CharlesQQ/scheduler-feature
feat: allow propagate workload to cluster but replicas is zero
2022-05-30 20:37:49 +08:00
huntsman_ly 95f60b5ec8
feat: karmada-search backendStore (opensearch)
Co-authored-by: liys87x <liyasong1987x@gmail.com>
Signed-off-by: huntsman_ly <huntsman_ly@sina.com>
2022-05-27 17:14:22 +08:00
changzhen 1445785fc5 support karmada-search component search interface
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-26 19:21:18 +08:00
chang.qiangqiang 962089cb01 feat: add command option for enable-empty-workload-propagation
Signed-off-by: charlesQQ <charles_ali@qq.com>

Author:   charlesQQ <charles_ali@qq.com>
2022-05-26 00:52:15 +08:00
karmada-bot ba71cdc5f9
Merge pull request #1865 from huntsman-li/feat/search
feat(karmada-search): Implement SearchRegistry reconcile logic
2022-05-25 17:36:43 +08:00
karmada-bot 139683d718
Merge pull request #1834 from AllenZMC/fix
remove deprecated flags for karmada-aggregated-apiserver
2022-05-25 15:58:43 +08:00
huntsman_ly de186ea043
feat(karmada-search): Implement SearchRegistry reconcile logic
Co-authored-by: liys87x <liyasong1987x@gmail.com>
Signed-off-by: huntsman_ly <huntsman_ly@sina.com>
2022-05-25 14:42:31 +08:00
karmada-bot 801d18767b
Merge pull request #1829 from dddddai/cluster-status
Add cluster failure threshold
2022-05-24 18:03:43 +08:00
dddddai 339f431673 add cluster failure threshold
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-05-24 17:22:05 +08:00
AllenZMC 6c711c8a70 remove deprecated flags
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-05-24 10:29:15 +08:00
wuyingjun 87073c3d78 discard unused param in cmd functions
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-20 11:25:29 +08:00
karmada-bot be5755daaf
Merge pull request #1781 from Garrybest/pr_clusterlifecycle
enhance cluster lifecycle management: add taints for the clusters which are unhealthy for a period of time
2022-05-18 09:33:47 +08:00
Garrybest 7107e3934f enhance cluster lifecycle management
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-05-17 21:17:42 +08:00
changzhen 3e217b0249 add karmada-search fabric
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-17 09:24:04 +08:00
Kante b5af525b19
introduce schedulerOptions to optimize scheduler instantiation (#1627)
* feat: introduce schedulerOptions to scheduler

Signed-off-by: kerthcet <kerthcet@gmail.com>

* add tests for NewScheduler

Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-04-26 09:26:13 +08:00
changzhen ecc8ddbb02 add ReflectStatus ResourceInterperter interface to grab workload status
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-22 10:08:03 +08:00
karmada-bot 28a6c2c767
Merge pull request #1620 from XiShanYongYe-Chang/fix-timeout-with-cluster-proxy
[AA] fix timeout when request of `-w` or `logs -f` flags with cluster/proxy
2022-04-21 12:45:06 +08:00
changzhen 1efbeb6d79 fix timeout when request of -w or logs -f with cluster/proxy
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-20 21:01:57 +08:00
stingshen 3eada92e03 check if cluster secretRef is nil before using it
Signed-off-by: stingshen <stingshen@126.com>
2022-04-19 19:31:40 +08:00
kerthcet 7f3b3dc072 feat: introduce registry to store plugins in framework initialization
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-04-15 15:09:40 +08:00
Poor12 83be916fa5 fix 1589-disable hpa controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-04-06 10:39:32 +08:00
Garrybest 5e9d5d79bb add parallelism in estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-03-30 20:30:41 +08:00
dddddai e52e02c23a add ratelimiter flags for karmada-agent
Signed-off-by: dddddai <dddwq@foxmail.com>
2022-03-19 15:57:57 +08:00
RainbowMango 11fd0f935c Refactor ratelimit flags to make it easier to share with karmada-agent.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-18 17:25:13 +08:00
karmada-bot ab7aaddf56
Merge pull request #1494 from AllenZMC/aggregated-apiserver
Implement flags grouping for karmada-aggregated-apiserver
2022-03-18 17:21:37 +08:00
AllenZMC 8d2ef8eb50 Implement flags grouping for karmada-aggregated-apiserver
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>

Implement flags grouping for karmada-aggregated-apiserver

Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-18 16:41:10 +08:00
karmada-bot f98c3978e1
Merge pull request #1491 from jameszhangyukun/group-flag-karmada-scheduler
Implement flags grouping for karmada-scheduler
2022-03-18 10:21:37 +08:00
karmada-bot 279bdebdcd
Merge pull request #1493 from AllenZMC/flags_scheduler_estimator
Implement flags grouping for karmada-scheduler-estimator
2022-03-17 15:21:32 +08:00
zhangyukun 0ebdb21f8b Implement flags grouping for karmada-scheduler
Signed-off-by: zhangyukun <38148677+jameszhangyukun@users.noreply.github.com>
2022-03-17 11:19:37 +08:00
karmada-bot 760fc14e15
Merge pull request #1490 from AllenZMC/flags_descheduler
Implement flags grouping for karmada-descheduler
2022-03-17 09:11:32 +08:00
AllenZMC 352704fb20 Implement flags grouping for karmada-descheduler and modify the kubeconfig description
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>

Implement flags grouping for karmada-descheduler and modify the kubeconfig description

Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-16 15:36:32 +08:00
AllenZMC 34b34bcbc8 Implement flags grouping for karmada-scheduler-estimator and modify the kubeconfig description
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>

Implement flags grouping for karmada-aggregated-apiserver and modify the kubeconfig description

Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-16 15:29:52 +08:00
AllenZMC f6bf8e4821 Implement flags grouping for karmada-webhook
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>

Implement flags grouping for karmada-webhook

Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-15 20:09:46 +08:00
lonelyCZ 81c39b80d1 Implement flags grouping for karmada-agent
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-03-15 16:46:03 +08:00
karmada-bot 42c8c3103b
Merge pull request #1468 from RainbowMango/pr_grouping_log_flags
grouping flags for karmada-controller-manager
2022-03-14 17:31:36 +08:00
karmada-bot 7e6d4f6990
Merge pull request #1475 from Garrybest/pr_descheduler
fix descheduler crash
2022-03-14 09:00:30 +08:00
RainbowMango 7358ea6c42 Grouping log flags of karmada-controller-manager
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-11 17:14:18 +08:00
Garrybest 995a2a4006 fix descheduler crash
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-03-11 16:15:05 +08:00
lihanbo 1e79a269ac make webhook server certificate name and key name configurable
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-03-11 15:01:38 +08:00
RainbowMango 8a402f8e94 chore: cleanup ratelimiter flags
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-08 08:57:01 +08:00
karmada-bot cd8d6ac645
Merge pull request #1429 from XiShanYongYe-Chang/federated-resource-qupta-validation
add validation for federatedResourceQuota create/update
2022-03-03 20:31:15 +08:00
changzhen e7b4436dae add validation for federatedResourceQuota create/update
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-03 19:44:48 +08:00
karmada-bot f3b1142599
Merge pull request #1399 from pigletfly/add-ratelimiter-flags
Introduce ratelimiter flags
2022-03-03 17:25:13 +08:00
pigletfly 9e28d6c6e8 add ratelimiter flags
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-03-03 16:09:39 +08:00
changzhen 62a94e57aa add federatedResourceQuota status controller
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-02-28 16:56:44 +08:00
changzhen b457a3b2e5 add federatedResourceQuota sync controller
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-02-28 16:13:14 +08:00
lihanbo 4a320cd114 add dependencies distributor framework
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-02-26 15:48:47 +08:00
karmada-bot d980eeac5d
Merge pull request #1321 from pigletfly/fix-worker-num
introduce concurrent flags to controllers
2022-02-25 15:17:06 +08:00
RainbowMango 3f0aa79948 Fix comments from myself.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-02-25 10:42:26 +08:00
pigletfly 957be91796 Fix controller reconcile concurrent
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-02-24 15:54:14 +08:00
Garrybest 513071d9eb add karmada-descheduler test
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-24 11:43:38 +08:00
Garrybest 85d8a6ccf4 add karmada-descheduler
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-24 11:43:28 +08:00
Garrybest 90900309ca implement GetUnschedulableReplicas for estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-02-23 14:19:51 +08:00
RainbowMango bff2eb9024 Adopt k/k API/interface changes
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-02-19 21:16:32 +08:00
karmada-bot f29eede546
Merge pull request #1346 from mrlihanbo/webhook-health
Introduce `--metrics-bind-address` and `--health-probe-bind-address` flags to `karmada-webhook`
2022-02-11 09:49:49 +08:00
changzhen eeee662a05 modify the kubeconfig description of the executable file
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-02-10 16:05:52 +08:00
RainbowMango 9af89e6fc2 Update --metrics-bind-address usage description
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-02-10 15:04:33 +08:00
lihanbo 2d8a1c485d make MetricsBindAddress and HealthProbeBindAddress configurable
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-02-10 15:03:09 +08:00
karmada-bot 0b257a724a
Merge pull request #1336 from carlory/karmada-config
deprecate --master and --karmada-config flags for aggregrated-apiserver
2022-02-10 14:59:48 +08:00
carlory 679081c8be deprecate --master and --karmada-config flags for karmada-aggregrated-apiserver
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-02-09 21:19:26 +08:00
pigletfly 98ae69139f Add metrics-addr to expose prometheus metrics
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2022-02-09 18:07:49 +08:00
karmada-bot 0d4baebde9
Merge pull request #1320 from kerthcet/bug/flush-in-webhook
bug: webhook's os.Exit will not wait for the defer function
2022-02-03 16:23:40 +08:00
karmada-bot 4ce5eb233a
Merge pull request #1319 from kerthcet/bug/flush-in-estimator
bug: estimator's os.Exit will not wait for the defer function
2022-02-03 16:21:40 +08:00
karmada-bot 98b5b1f048
Merge pull request #1318 from kerthcet/bug/flush-in-kubectl-karmada
bug: kubectl karmada's os.Exit will not wait for the defer function
2022-01-30 15:43:36 +08:00
karmada-bot a2959f1dae
Merge pull request #1317 from kerthcet/bug/flush-in-karmadactl
bug: karmadactl's os.Exit will not wait for the defer function
2022-01-29 10:14:34 +08:00
karmada-bot a20f145724
Merge pull request #1316 from kerthcet/bug/flush-in-controllermanger
bug: controller-manager's os.Exit will not wait for the defer function
2022-01-28 10:41:37 +08:00
kerthcet 5a390f58d9 bug: estimator's os.Exit will not wait for the defer function
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-28 10:18:54 +08:00
kerthcet ac8d271261 bug: webhook's os.Exit will not wait for the defer function
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-28 10:17:38 +08:00
kerthcet 98842ed756 bug: controller-manager's os.Exit will not wait for the defer function
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-28 10:07:54 +08:00
karmada-bot 3cbc342371
Merge pull request #1315 from kerthcet/bug/flush-in-aggregated-apiserver
bug: aggregated-apiserver's os.Exit will not wait for the defer function
2022-01-28 08:55:33 +08:00
kerthcet 8829c18208 bug: kubectl karmada's os.Exit will not wait for the defer function
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-25 21:23:48 +08:00
kerthcet 29020d6ca6 bug: karmadactl's os.Exit will not wait for the defer function
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-25 19:14:21 +08:00
kerthcet b7a3a18985 bug: aggregated-apiserver's os.Exit will not wait for the defer function
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-25 18:58:23 +08:00
kerthcet be6020749f bug: agent's os.Exit will not wait for the defer function
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-25 18:41:19 +08:00
karmada-bot 85554ff187
Merge pull request #1261 from Garrybest/pr_slow
Introduce `--resync-period` flag to specify reflector resync period
2022-01-25 15:40:30 +08:00
karmada-bot 008a54e3a0
Merge pull request #1289 from kerthcet/feature/exit-will-not-flush-logs
os.Exit will not wait for the defer function
2022-01-24 23:03:30 +08:00
kerthcet e80354175a os.Exit will not wait for the defer function
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-24 11:57:34 +08:00
Garrybest 012f0ca1de add resync period option
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-22 09:36:28 +08:00
karmada-bot 7c78d03c3b
Merge pull request #1265 from Garrybest/pr_resync
stop resync for controllers
2022-01-21 09:00:26 +08:00
carlory 403de9cbd3 introduce --tls-min-version flag to karmada-webhook
Co-authored-by: Hongcai Ren <renhongcai@huawei.com>
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-01-19 16:09:34 +08:00
Garrybest cae54335cf set resync period to 0
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-01-17 10:17:21 +08:00
carlory f697c03c74 add validation for cluster api and remove cluster validating webhook
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-01-14 12:08:43 +08:00
carlory 8f019269b0 aggregatedapiserver support openapi
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-01-10 10:41:26 +08:00
carlory 1e211873f7 add code comments for the karmada-controller-manager options
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-01-02 11:50:18 +08:00
carlory 17578c8466 remove the karmada client from aggregated-apiserver
Signed-off-by: carlory <baofa.fan@daocloud.io>
2021-12-29 13:16:44 +08:00
changzhen 05722acfc0 add impersonatorSecretRef for cluster object
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-29 11:08:13 +08:00
karmada-bot b06925128a
Merge pull request #1164 from XiShanYongYe-Chang/support-clusterproxy-for-pull
completes ClusterSpec and create impernator secret for pull mode cluster
2021-12-28 10:44:37 +08:00
karmada-bot f5c33bbfff
Merge pull request #1165 from RainbowMango/pr_owners
Put lonelyCZ on the owner list
2021-12-28 10:02:38 +08:00
changzhen 9833a814a4 create or update cluster and create impersonation secret for pull cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-27 21:07:00 +08:00
changzhen bc377033e3 upgrade scenario for pull mod cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-27 12:22:08 +08:00
changzhen fb8f99718c upgrade scenario for push mode cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-26 16:48:22 +08:00
RainbowMango b582a380e1 Put lonelyCZ on the owner list
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-12-25 16:09:29 +08:00
Xinzhao Xu a895c38005 Implementing the ReviseReplica hook
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-24 16:02:25 +08:00
changzhen c9a2a70cb8 add ClusterProxyOptions for Cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-24 15:19:53 +08:00
Xinzhao Xu 05eb1d51d7 Add --controllers flag to karmada-agent and move ControllerContext to a separate package
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-23 21:32:06 +08:00
lihanbo beb4dd7581 add unified auth controller
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-23 19:46:39 +08:00
karmada-bot 22e307707b
Merge pull request #1122 from XiShanYongYe-Chang/move-cluster-to-aa
Add aggregation apiserver and move cluster crd to aa
2021-12-21 15:02:31 +08:00
karmada-bot 98390f5615
Merge pull request #1133 from RainbowMango/pr_add_owners
Add Garrybest on the owner list of karmada-scheduler-estimator
2021-12-21 10:03:28 +08:00
karmada-bot ea0874acd0
Merge pull request #1070 from mrlihanbo/add_events_in_resource
add events to resource template
2021-12-21 09:26:28 +08:00
RainbowMango 737062dedd Add Garrybest on the owner list of karmada-scheduler-estimator
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-12-20 20:26:15 +08:00
karmada-bot 5ac98b094e
Merge pull request #1129 from lonelyCZ/cop-webhook
Implementing karmada-webhook of validating ClusterOverridePolicy
2021-12-20 20:23:27 +08:00
changzhen b49cc9ed0f add aggregated apiserver fabric
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-12-20 19:49:29 +08:00
lihanbo b238572263 add events to resource template
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-20 17:31:38 +08:00
karmada-bot 5eefcd6a49
Merge pull request #1053 from mrlihanbo/delete-work-bugfix
abort deleting workload when the member cluster is unready
2021-12-20 17:07:27 +08:00
lonelyCZ f99d1e8a0f Implementing karmada-webhook of validating ClusterOverridePolicy
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-12-20 13:32:52 +08:00
karmada-bot c69e955bfb
Merge pull request #1124 from lonelyCZ/override-validating
Implementing karmada-webhook of validating OverridePolicy
2021-12-20 09:07:26 +08:00
lihanbo 5290f07345 abort deleting workload when the member cluster is unready
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-19 14:29:12 +08:00
lonelyCZ b8d46597a9 Implementing karmada-webhook of validating OverridePolicy
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-12-18 12:42:22 +08:00
Xinzhao Xu 250c8001cd controller-manager: automatically generate all controllers list in flag
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-17 11:51:49 +08:00
jingxueli 0aec855964 set default for clusterCacheSync timeout and make it configurable
Signed-off-by: jingxueli <jingxueli@trip.com>
2021-12-16 21:28:04 +08:00
zhangyukun fb06180911 Enhancement --controllers flag of karmada-controller-manager
Signed-off-by: zhangyukun <38148677+jameszhangyukun@users.noreply.github.com>
2021-12-16 14:30:46 +08:00
Xinzhao Xu 1e9c24d667 Optimize the controllers flag
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-09 18:09:40 +08:00
jingxueli 08182cf774 add flag `--controllers`: a list of controllers to enable
Signed-off-by: jingxueli <jingxueli@trip.com>
2021-12-09 16:27:26 +08:00
karmada-bot 7d10d979e0
Merge pull request #1030 from Garrybest/pr_metrics
add metrics for scheduler estimator
2021-12-02 11:14:08 +08:00
Garrybest e2e9a503b7 add metrics for scheduler estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-12-02 10:16:28 +08:00
huangminjie 80467aea48 feature: change namespace filter rule
some namespaces(like karmada-test, karmada-dev, etc.) will be propagated

Signed-off-by: huangminjie <minjie.huang@daocloud.io>
2021-12-01 16:19:11 +08:00
karmada-bot ec60c2d103
Merge pull request #952 from feeltimeQ/add_karmada-wehook_flags_verification_logic
add karmada-wehook flags verification logic
2021-11-29 09:31:06 +08:00
Garrybest bc67417303 clean up metrics package init
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-11-25 10:33:33 +08:00
qulifeng 7021e278c0 add karmada-wehook flags verification logic
Signed-off-by: qulifeng <lifeng.qu@daocloud.io>
2021-11-23 10:34:06 +08:00
karmada-bot 42882cd8a0
Merge pull request #940 from lonelyCZ/remove-klog-error
Clean klog errorf in karmadactl
2021-11-22 10:34:10 +08:00
karmada-bot 5e8b6a48a2
Merge pull request #997 from gy95/hostport
using net.JoinHostPort to generate a network address
2021-11-20 19:54:07 +08:00
changzhen 7224234a74 Update resourece interpreter pkg/file name and variable/parameter/comment naming
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-20 17:48:00 +08:00
guoyao d563b179cd using net.JoinHostPort to generate a network address
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-20 15:44:09 +08:00
lonelyCZ 8efa566b7c add unit tests for cmd/... in ci
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-11-19 20:32:51 +08:00
Garrybest 19920acfb3 fix issue of scheduler-estimator exit
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-11-19 09:59:01 +08:00
guoyao 81f6cb939b add retaining webhook
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-18 16:08:39 +08:00
karmada-bot 0260049624
Merge pull request #962 from jameszhangyukun/validation-test-scheduler-estimator
add validation test for scheduler-estimator
2021-11-16 09:05:02 +08:00
jameszhangyukun 20483de82f add validation test for a scheduler-estimator and refactor the validation of scheduler-estimator
Signed-off-by: jameszhangyukun <1481815567@qq.com>

add validation test for a scheduler-estimator and refactor the validation of scheduler-estimator
2021-11-15 19:16:09 +08:00
lonelyCZ 529c907d93 Clean klog errorf in karmadactl
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-11-15 18:30:20 +08:00
Charlie17Li 83dabcf92f
add validation test for controller-manager and refactor the validation of controller-manager (#960)
Signed-off-by: charlie <qianglin98@qq.com>
2021-11-15 17:45:01 +08:00
guoyao 94227b33b4 add more validations for cluster name
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-15 15:08:16 +08:00
karmada-bot c67874689e
Merge pull request #951 from RainbowMango/pr_enable_explorer
Setup custom resource explorer
2021-11-12 19:26:32 +08:00
RainbowMango 9e7fde6ab9 Setup custom resource explorer
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-11-12 17:11:24 +08:00