Commit Graph

300 Commits

Author SHA1 Message Date
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
huiwq1990 e83639b44d
change to err:= (#368)
Signed-off-by: huiwq1990 <huiwq1990@163.com>
2021-05-22 18:54:44 +08:00
Kevin Wang 57c3561fff fix lint failure in controller-manager options.go
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-05-17 17:04:13 +08:00
pigletfly 1056efa08c Add enalbe-leader-election flag
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-05-17 12:18:52 +08:00
gy95 d33ae3818c
fix blank lines of import packages and repeated import problems (#337)
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-05-16 19:01:11 +08:00
futuretea 39d1a3a636 Fix goimports
Signed-off-by: futuretea <1913508671@qq.com>
2021-05-13 11:31:19 +08:00
RainbowMango 763c2a10e7 Adopt Reconcile() method signature change
Adopt MapOjbect removing change
Adopt event handling object changes
Adopt ToRequestsFunc to MapFunc change
Adopt EnqueueRequestsFromMapFunc change
Adopt runerable interface change
Adopt using admission review version v1

Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-05-08 19:12:35 +08:00
Hongcai Ren a65ffaf0dd
Add --cluster-status-update-frequency flag for karmada-controller-manager (#273)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-04-19 18:00:11 +08:00
Hongcai Ren 71f4ddeb81
Add --cluster-status-update-frequency flag for karmada-agent (#272)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-04-17 18:38:24 +08:00
yangcheng-icbc c4acba97aa
update workload's labels when it's policy has been deleted (#251)
Signed-off-by: icbc-yangcheng <shineus1996@gmail.com>
2021-04-06 10:50:37 +08:00
lihanbo e7aeb332ad add e2e test for karmada agent
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-03-27 17:58:55 +08:00