Commit Graph

410 Commits

Author SHA1 Message Date
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
changzhen c4a6c03c99 add the validation for ResourceExploringWebhookConfiguration creation
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-11 15:04:09 +08:00
karmada-bot 80df5e66c1
Merge pull request #930 from wawa0210/add-agent-flag-validate
add agent flag validate
2021-11-09 22:20:03 +08:00
guoyao b22da790ea cleanup some codes
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-08 20:43:39 +08:00
wawa0210 e9265bfb4c
add agent flag validate
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-11-07 20:22:48 +08:00
wawa0210 84cd4103c4
The command exits abnormally without outputting stack information
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-11-07 09:10:30 +08:00
iawia002 98ee6ce938 Introduce feature gates for the scheduler component
Signed-off-by: iawia002 <z2d@jifangcheng.com>
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-11-05 21:03:02 +08:00
youhonglian 17bdefc8fb add controller-manager parameter validation
Signed-off-by: youhonglian <honglian.you@daocloud.io>
2021-11-05 13:54:39 +08:00
karmada-bot 87a3ac59d5
Merge pull request #911 from learner0810/fix/skipped-propagating-apis_not_take_effect
fix skipped-propagating-apis not take effect
2021-11-04 09:00:55 +08:00
zhongjun.li 29a8608bfa fix/skipped-propagating-apis_not_take_effect
Signed-off-by: zhongjun.li <zhongjun.li@daocloud.io>
2021-11-03 10:18:02 +08:00
zhongjun.li a31708ae46 propagationpolicy clean up
Signed-off-by: zhongjun.li <zhongjun.li@daocloud.io>
2021-11-02 18:02:32 +08:00
lonelyCZ 221a8ad61b replace err report with RunE
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-11-01 23:28:10 +08:00
zhongjun.li ecce805dc8 add_controller_manager_config_validation
Signed-off-by: zhongjun.li <zhongjun.li@daocloud.io>
2021-10-29 17:07:58 +08:00
karmada-bot 0ab7333782
Merge pull request #831 from Garrybest/pr_metrics
add work queue metrics for agent and controller-manager
2021-10-20 21:10:08 +08:00
changzhen 27558d5a51 move detector directory from pkg/util/ to pkg/
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-10-20 10:21:08 +08:00
Garrybest 5d4afd2a42 add work queue metrics for agent and controller-manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-10-19 12:16:32 +08:00
dddddai 65071d1e64 fetch control plane workload from cache instead of api server
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-10-15 17:33:25 +08:00
junqian 226b48bd52 add metrics for scheduler
Signed-off-by: junqian <junqian@tencent.com>
2021-09-29 10:34:08 +08:00
RainbowMango a362e07125 Enable multi-version and updates binding to v1alpha2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-09-28 17:03:46 +08:00
dddddai 30a8b34ac7 get member workload from cache
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-09-20 21:49:49 +08:00
Garrybest a5774944b5 add scheduler estimator client
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-18 11:32:32 +08:00
lonelyCZ ae9f7bd2a6 add version command to components
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-09-13 17:23:03 +08:00
RainbowMango 239d94b37a Introduced version command to karmada-controller-manager
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-09-11 15:27:32 +08:00
Garrybest 5411290137 add karmada-scheduler-estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-10 16:14:19 +08:00
changzhen 88c2446b50 support kubectl karmada plugin
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-08 11:15:57 +08:00
changzhen 97f89f6159 Options.LeaderElection.ResourceNamespace should be changed to configurable
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-06 14:48:30 +08:00
Yiqun Ding e2a6a18cd3 resetConfig should be restConfig
Signed-off-by: Yiqun Ding <yiqunding@zju.edu.cn>
2021-09-01 15:39:09 +08:00
Garrybest 89e80a673e add qps and burst option
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-08-19 16:54:23 +08:00
RainbowMango f824427351 Move QPS and Burst to cluster status controller.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-08-19 11:44:24 +08:00
Garrybest 1452fa57e3 modify usage of informer-manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-08-16 17:16:42 +08:00
changzhen 60e53a1f02 add cluster lifecycle management using the cluster-api
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-08-10 17:55:07 +08:00
Garrybest 4ac44669f3 add leader election to agent
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-08-09 11:50:44 +08:00
Garrybest 87937a0830 clean up leader election
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-08-02 21:31:05 +08:00
Garrybest 06530abcb3 clean up logs init in controller-manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-07-31 17:06:57 +08:00
RainbowMango fd1bdb4cab validate skipped resource
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-07-22 21:48:43 +08:00
pigletfly 3a29c15a7e Add skipped-propagating-namespaces flag
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-07-22 17:41:50 +08:00
karmada-bot 9495cf398f
Merge pull request #511 from Garrybest/agent-deploy
fix bugs of agent deployment
2021-07-14 12:20:32 +08:00
Garrybest e7b9de2f22 fix bugs of agent deployment
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-07-14 11:17:13 +08:00
changzhen 0d0e7c333e suppress reported work from propagating in agent
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-09 17:27:55 +08:00
RainbowMango d8e2053b35 Suppress reported work from propagating
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-07-09 11:55:30 +08:00
pigletfly d4bbde279f Add skippedPropagatingAPIs option
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-07-08 19:17:01 +08:00
changzhen 7e63e90ef9 derive service from ServiceImport
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-07 19:30:40 +08:00
changzhen a6c76d2ffa collect endpointslices from executionNamespace to service namespace
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-06 22:08:58 +08:00
Garrybest 38690cbda6 share informer manager in global
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-07-05 19:31:41 +08:00
changzhen f32bd501e6 add service_export_controller to watch serviceexport and report endpointslices to karmada
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-03 16:33:07 +08:00
Garrybest d434a4d57e monitor cluster health in cluster_controller
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-06-27 16:43:29 +08:00
karmada-bot fa3ac4888e
Merge pull request #421 from Garrybest/cluster-lifecycle-manager
add cluster lease controller
2021-06-18 17:50:12 +08:00
Garrybest b9010cfe9b add cluster lease controller
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-06-16 21:19:43 +08:00
lihanbo 280abfe468 Introduce --karmada-context flag to karmada-agent to select context in
kubeconfig file

Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-06-07 20:01:03 +08:00
Garrybest 26085fcd6f feat(cluster-status-controller): use cached lister for getting node summary
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-06-03 11:54:44 +08:00