Commit Graph

61 Commits

Author SHA1 Message Date
chaosi-zju c7009b2d64 expose metrics of karmada-metrics-adapter
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2025-01-02 16:47:52 +08:00
Mohamed Awnallah 6144ea5a9b cmd+hack+operator+pkg: unify addons constants
In this commit we unify the usage of addon names i.e
`karmada-descheduler`, `karmada-scheduler-estimator`, `karmada-search`,
and `karmada-metrics-adapter` across the codebase.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
Co-authored-by: Hongcai Ren <renhongcai@huawei.com>
2024-12-05 18:45:44 +02:00
karmada-bot 616a95e0d7
Merge pull request #5754 from mohamedawnallah/unitTestInstallAddon
pkg/karmadactl/addons: unit test install addons
2024-12-04 17:17:09 +08:00
Khalil Santana a259d51cfa
Fix: karmada-metrics-adapter use the correct certificate when deployed via karmadactl
Signed-off-by: Khalil Santana <khalil@ksantana.net>
2024-11-19 18:28:15 -03:00
Mohamed Awnallah 91c4f92702 pkg/karmadactl/addons: unit test karmada search
In this commit, we unit test karmada search on status operation.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-11-05 15:53:25 +02:00
Mohamed Awnallah ddf4102d18 pkg/karmadactl/addons: unit test descheduler
In this commit, we unit test descheduler addon on enabling,
disabling, and status operations. In addition to this we refactor
some code to utilize some utilities across karmadactl addons.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-31 22:26:51 +03:00
Mohamed Awnallah 3b79f574c0 pkg/karmadactl/addons: unit test metrics adapter
In this commit, we unit test metrics adapter on status
operations making sure metrics adapter deployed correctly
on both the host cluster and karmada control plane by checking
on deployment and aaAPIServices respectively.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-30 14:51:01 +03:00
Mohamed Awnallah 4ab6bff3b0 pkg/karmadactl/addons: unit test install addons
In this commit, we unit test install addons to make sure the
following addons `karmada-descheduler`, `karmada-metrics-adapter`,
`karmada-scheduler-estimator`, and `karmada-search` are already
configured.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-29 15:43:17 +03:00
karmada-bot 29c97e9848
Merge pull request #5602 from mohamedawnallah/dependOnAggregatorInterface
operator/pkg: depend on `aggregator.Interface` instead of `*aggregator.Clientset`
2024-10-17 11:58:28 +08:00
Mohamed Awnallah 6c490dcefa operator: depend on aggregator.Interface for DI
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-27 15:16:25 +03:00
karmada-bot 9f23d2961d
Merge pull request #5552 from chaosi-zju/bind-descheduler
Remove deprecated --bind-address and --secure-port from karmada-descheduler
2024-09-23 14:47:07 +08:00
chaosi-zju 6edb9cee1e Remove deprecated --bind-address and --secure-port from karmada-descheduler
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-09-21 10:59:24 +08:00
wei-chenglai a72b72ba93 Remove BindAddress & SecurePort of karmada-scheduler-estimator
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2024-09-16 00:03:38 -04:00
chaosi-zju e7db9d74b0 remove redundant launch arguments when install estimator by karmadactl
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-09-11 16:59:28 +08:00
whitewindmills d9ecf2a9ca Standardize the health probe and metrics arguments of descheduler
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-08-27 14:32:00 +08:00
wei-chenglai c266e4b234 Standardize the health probe & metrics arguments of scheduler-estimator
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2024-08-27 11:49:42 +08:00
whitewindmills 6158fd8af5 Expose metrics port for karmadactl installation
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-11 11:16:03 +08:00
zhzhuang-zju acdd2115c6 Adding TLS Certificate Authentication to gRPC
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-06-21 15:56:20 +08:00
chaosi-zju be3874a938 cleanup: replace text/template with html/template
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-17 15:37:55 +08:00
zhzhuang-zju 309c67701b bump golangci to v1.58.0
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-05-13 09:32:13 +08:00
RainbowMango 8cf31bfc37 Adopt Kubernetes #121390: remove etcd page
Adopt Kubernetes #118653, introduce VolumeResourceRequirements
Remove APIPriorityAndFairness feature gates from
karmada-aggregated-apiserver.

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-06 11:36:54 +08:00
Lan Liang 7f152eda0d Add more detail log for load karmada-host config and karmada-apiserver config.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-03-17 12:47:15 +00:00
Zhizhen He 25a62c6c57
fix typo
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-12-17 16:12:03 +08:00
zhy76 adef1e5974 feat: add license and verify license for code file
Signed-off-by: zhy76 <958474674@qq.com>
2023-11-16 11:11:21 +08:00
huangyanfeng e8a7d96e15 set MinVersion to VersionTLS13 for tlsconfig in karmada-search and karmada-metrics-adapter
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-10-29 18:50:54 +08:00
chaosi-zju eabb38b876 remove insecureSkipTLSVerify in karmadactl
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-10-24 11:47:30 +08:00
karmada-bot 7c96e0db54
Merge pull request #3898 from tedli/external-etcd
karmadactl init with external etcd
2023-09-04 14:28:46 +08:00
whitewindmills c8423cb237 fix spelling errors
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-09-04 10:22:39 +08:00
lizhen6 9257a8d4dd external etcd, refactor based on review
Signed-off-by: lizhen6 <lizhen6@360.cn>
2023-08-17 10:27:29 +08:00
lizhen6 e0111919cc karmadactl init with external etcd
Signed-off-by: lizhen6 <lizhen6@360.cn>
2023-08-11 18:12:15 +08:00
lizhen6 6938571230 karmadactl init with external etcd
Signed-off-by: lizhen6 <lizhen6@360.cn>
2023-08-11 14:04:21 +08:00
lizhen6 5f5c45f109 karmadactl init with external etcd
Signed-off-by: lizhen6 <lizhen6@360.cn>
2023-08-04 16:01:52 +08:00
chaunceyjiang fc975e8e53 feat: karmadactl adds the karmada-metrics-adapter addons.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-28 11:00:30 +08:00
jwcesign 06efa55b46 feat: Support prerelease version parse
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-06-16 10:09:07 +08:00
xin.li 42926ef1ea fix error example for addons enable
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-05-04 18:13:40 +08:00
xin.li 8adc86e7e4 feat: support specify global image registry for addons
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-04-04 09:44:47 +08:00
lizhen6 06adeb96dc customizable cluster domain
Signed-off-by: lizhen6 <lizhen6@360.cn>
2023-03-30 14:03:54 +08:00
xin.li 9500fced9b chore: improve some format
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-03-24 11:18:34 +08:00
lonelyCZ fb273dc715 Fixed unable to view the options for karmadactl addons enable/disable
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2023-03-20 22:30:58 +08:00
xin.li 662be91548 feat: add param of force for addon disable
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-03-20 10:02:16 +08:00
huangyanfeng fd062cecab check deployment statefulset rollout not use check pod ready
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2023-03-16 16:39:43 +08:00
karmada-bot a9089325dc
Merge pull request #3145 from my-git9/ut-template
[UT] add ut for utils/template.go
2023-02-14 10:03:55 +08:00
xin.li 4367d8c4b3 [UT] add ut for utils/template.go
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-02-13 20:43:27 +08:00
chaunceyjiang 111f6b33e3 Replace "" with NamespaceAll.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-02-13 14:25:00 +08:00
chen zechun 7b64cc5e4e Correct the typos
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-05 18:27:28 +08:00
lonelyCZ 02fd98a4c1 Improve karmadactl command description
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-18 10:00:32 +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 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
cleverhu 136429ed04 fix etcd sts name hardcode
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
2022-11-14 19:25:29 +08:00
jwcesign 6fbcf8cf9d Change repo to dockerhub
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-14 11:30:02 +08:00