karmada-bot
6f2f3ebb22
Merge pull request #4451 from zhzhuang-zju/unjoin
...
Enhanced forced deletion on karmadactl unjoin
2024-11-04 11:15:43 +08:00
zhzhuang-zju
1eb2f9ec31
enhanced forced deletion on karmadactl unjoin
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-11-04 09:59:11 +08: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
wulemao
83a23abbd5
add related ut for unregister
...
Signed-off-by: wulemao <1194736083@qq.com>
2024-10-29 18:31:16 +08:00
wulemao
e0017b6ba4
cleanup: change *kubeclient.Clientset to kubeclient.Interface in unregister module
...
Signed-off-by: wulemao <1194736083@qq.com>
2024-10-29 15:32:12 +08:00
karmada-bot
07c6cb4db9
Merge pull request #5306 from tiansuo114/config
...
Add GitHub tests for karmadactl init --config command
2024-10-29 14:41:38 +08:00
tiansuo114
7426b4144b
Add github ci test for karmadactl init --init-config
...
Signed-off-by: tiansuo114 <1729765480@qq.com>
2024-10-29 11:00:24 +08:00
karmada-bot
1e333650dd
Merge pull request #5626 from wulemao/karmadactl-unregister
...
support unregister cluster in karmada
2024-10-28 21:20:38 +08:00
wulemao
f803efe492
support unregister cluster in karmada
...
Signed-off-by: wulemao <1194736083@qq.com>
2024-10-28 20:25:28 +08:00
tiansuo114
9b9847e3f7
Feature: karmadactl init supports deployment through configuration files
...
Signed-off-by: tiansuo114 <1729765480@qq.com>
fix lint
Signed-off-by: tiansuo114 <1729765480@qq.com>
2024-10-25 17:02:59 +08:00
karmada-bot
4294e60704
Merge pull request #5561 from mohamedawnallah/validateKeyAndHandleErrors
...
operator/pkg/certs: validate X509 Cert key types and improve error handling
2024-10-19 15:19:29 +08:00
Mohamed Awnallah
ad7a70b008
operator/pkg/certs: validate key types and val err
...
In this commit, we enhance the `GeneratePrivateKey` and `ParsePrivateKeyPEM` functions:
- Added validation for unsupported key types and provided a more descriptive error message.
This function supports ECDSA (using P-256) and RSA (with a key size of 3072 bits) algorithms.
It returns an error for unsupported key types.
- Improved error handling to include the type of the unsupported key format in the error message.
This function now provides more informative feedback when the private key format is neither RSA nor ECDSA.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-10-18 15:48:34 +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
karmada-bot
59e302558d
Merge pull request #5616 from mohamedawnallah/dependOnClientSetInterface
...
operator+pkg: depend on `clientset.Interface` instead of `*clientset.Clientset`
2024-09-29 15:11:12 +08:00
Mohamed Awnallah
a640f0969f
operator+pkg: depend on clientset.Interface for DI
...
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-27 15:35:40 +03: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
wulemao
7f082af21a
guarantee the promotion can be rolled back safely
...
Signed-off-by: wulemao <1194736083@qq.com>
2024-09-26 10:24:19 +08: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
chaosi-zju
03023103d6
Remove deprecated --bind-address and --secure-port from karmada-scheduler
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-09-20 18:10:37 +08:00
karmada-bot
b8edec1ef6
Merge pull request #5533 from zhzhuang-zju/autocompletion
...
Implementing autocompletion for karmadactl
2024-09-20 10:35:05 +08:00
zhzhuang-zju
a684edd354
Implementing autocompletion for karmadactl
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-09-20 09:42:40 +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
Lan Liang
0395765962
Update karmada-apiserve and kube-controller-manager to v1.30.4 by default.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-09-10 13:59:13 +00:00
karmada-bot
aaae246280
Merge pull request #5487 from zhzhuang-zju/namespace
...
fix: command create cannot specify the namespace
2024-09-10 11:32:56 +08:00
karmada-bot
4668cf0808
Merge pull request #5321 from tiansuo114/node
...
Support multiple label selection ability in EtcdNodeSelectorLabels
2024-09-10 11:07:57 +08:00
zhzhuang-zju
4a2dc3d935
fix: command create cannot specify the namespace
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-09-10 10:23:09 +08:00
tiansuo114
2c57ebae0e
Support multiple label selection ability in EtcdNodeSelectorLabels
...
Signed-off-by: tiansuo114 <1729765480@qq.com>
fix ci
Signed-off-by: tiansuo114 <1729765480@qq.com>
add unit test
Signed-off-by: tiansuo114 <1729765480@qq.com>
change unit test
Signed-off-by: tiansuo114 <1729765480@qq.com>
rm mapsEqual
Signed-off-by: tiansuo114 <1729765480@qq.com>
fix
Signed-off-by: tiansuo114 <1729765480@qq.com>
1111111111111111111111
Signed-off-by: tiansuo114 <1729765480@qq.com>
Update pkg/karmadactl/cmdinit/cmdinit.go
Co-authored-by: zhzhuang-zju <m17799853869@163.com>
use metav1.ParseToLabelSelector
Signed-off-by: tiansuo114 <1729765480@qq.com>
delete useless test
Signed-off-by: tiansuo114 <1729765480@qq.com>
11
Signed-off-by: tiansuo114 <1729765480@qq.com>
fix
Signed-off-by: tiansuo114 <1729765480@qq.com>
2024-09-09 20:05:23 +08:00
ahorine
5d2cf3ef7e
feat: Added 's' shorthand to operation-scope flags
...
The operation-scope flag gets used a lot when examining resources on
member clusters. The 's' shorthand was added to improve user QoL.
Signed-off-by: ahorine <allen.horine@gmail.com>
2024-09-04 16:52:46 -04:00
zhzhuang-zju
d351e3dc72
add commandGroup annotation to ctl command
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-09-04 16:47:38 +08:00
zhzhuang-zju
e2392fb07c
chore: remove redundancy certificate configuration
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-09-03 20:07:23 +08:00
karmada-bot
cb5be63eea
Merge pull request #5462 from mohamedawnallah/reformatInterpretHelpCommand
...
pkg/karmadactl/interpret/interpret.go: Reformat `karmadactl interpret --help` output
2024-08-30 17:50:47 +08:00
karmada-bot
704a873433
Merge pull request #5463 from zhzhuang-zju/karmadactlpatch
...
add new command patch
2024-08-30 16:50:48 +08:00
zhzhuang-zju
8cb9f4224c
add new command patch
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-30 10:31:06 +08:00
Mohamed Awnallah
48e6fe7e0f
pkg/karmadactl/interpret/interpret.go: chore help
...
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-08-29 18:53:48 +00:00
karmada-bot
6d26feb77c
Merge pull request #5458 from zhzhuang-zju/karmadactlannotate
...
add new command annotate
2024-08-29 21:17:47 +08:00
karmada-bot
10cc29ae92
Merge pull request #5453 from zhzhuang-zju/karmadactllabel
...
add new command label
2024-08-29 19:47:46 +08:00
zhzhuang-zju
65f686e473
add new command annotate
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-29 19:47:08 +08:00
karmada-bot
bd483c141d
Merge pull request #5454 from whitewindmills/words-cleanup
...
Fix spelling errors
2024-08-29 19:43:46 +08:00
zhzhuang-zju
8b21a65f97
add new command label
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-29 16:02:12 +08:00
whitewindmills
b4ad838227
Fix spelling errors
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-08-29 15:58:05 +08:00
hulizhe
1a34a70ef3
enhance top pod command
...
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-29 10:50:30 +08:00
karmada-bot
d16f0985ec
Merge pull request #5437 from liangyuanpeng/scheduler_options
...
Standardize the health probe and metrics arguments of scheduler.
2024-08-28 09:11:45 +08:00
Lan Liang
0fceab521a
Standardize the health probe and metrics arguments of scheduler.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-08-27 12:37:21 +00:00
karmada-bot
a184b40a56
Merge pull request #5434 from zhzhuang-zju/karmadactledit
...
add new command edit
2024-08-27 20:28:45 +08:00
zhzhuang-zju
e9c1df6828
add new command edit
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-27 19:35:13 +08:00
karmada-bot
9a678b65f0
Merge pull request #5290 from seanlaii/controller-manager-options
...
Standardize the health probe argument of karmada-controller-manager
2024-08-27 18:37:45 +08:00
wei-chenglai
f6d022f799
Standardize the health probe argument of karmada-controller-manager
...
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2024-08-27 16:29:01 +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
karmada-bot
8f6425b81a
Merge pull request #5273 from seanlaii/estimator-options
...
Standardize the health probe and metrics arguments of scheduler-estimator
2024-08-27 13:52:44 +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
zhzhuang-zju
764bf58f1a
add new command delete
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-27 09:52:25 +08:00
hulizhe
216b465e98
add new command explain
...
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-26 17:29:00 +08:00
karmada-bot
e13518de1e
Merge pull request #5394 from hulizhe/karmadactlapiresource
...
add new command karmadactl api-resources
2024-08-26 16:40:44 +08:00
hulizhe
55c8f909f9
add new command attach
...
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-26 15:21:30 +08:00
karmada-bot
6eb86ab706
Merge pull request #5399 from hulizhe/karmadactlcreate
...
add new command karmadactl create
2024-08-26 15:12:44 +08:00
zhzhuang-zju
3af667c62c
karmadactl supports top node
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-19 20:06:32 +08:00
karmada-bot
24de174b35
Merge pull request #5398 from hulizhe/karmadactlexec
...
enhance karmadactl exec command
2024-08-19 18:14:37 +08:00
hulizhe
a6aa08e6b3
add new command karmadactl create
...
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 17:16:44 +08:00
hulizhe
914d57ca89
enhance karmadactl exec command
...
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 16:10:57 +08:00
hulizhe
668a994bf9
add new command karmadactl api-resources
...
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 15:57:26 +08:00
hulizhe
2249abd818
enhance karmadactl describe command
...
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 15:37:52 +08:00
hulizhe
99ef7a3b59
enhance karmadactl get command
...
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 10:16:46 +08:00
Michael Grosser
f4df03f6e0
add karmada.io/system label to created clusterrole+bindings
...
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-07-31 18:46:21 -07:00
karmada-bot
21b330c23c
Merge pull request #5223 from whitewindmills/agent-options
...
Standardize the health probe arguments
2024-07-27 22:05:18 +08:00
karmada-bot
1430ecbd2e
Merge pull request #5243 from grosser/grosser/exelabe
...
add karmada.io/system label to created execution namespaces
2024-07-26 12:03:17 +08:00
Michael Grosser
13f0f6e6d8
add karmada.io/system label to created execution namespaces
...
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-07-25 07:48:49 -07:00
Michael Grosser
afc1e5fc89
relabel webhooks to make it obvious they belong to karmada
...
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-07-24 19:45:52 -07:00
whitewindmills
955b5b5862
Standardize the health probe arguments
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-23 10:20:48 +08:00
tiansuo114
26a178d0fe
Add cert file exist check
...
Signed-off-by: tiansuo114 <1729765480@qq.com>
fix ci
Signed-off-by: tiansuo114 <1729765480@qq.com>
change fmt.Println to t.Fatal
Signed-off-by: tiansuo114 <1729765480@qq.com>
Fix the issues raised in the discussion
Signed-off-by: tiansuo114 <1729765480@qq.com>
fix
Signed-off-by: tiansuo114 <1729765480@qq.com>
fix
Signed-off-by: tiansuo114 <1729765480@qq.com>
fix
Signed-off-by: tiansuo114 <1729765480@qq.com>
add file check
Signed-off-by: tiansuo114 <1729765480@qq.com>
fix
Signed-off-by: tiansuo114 <1729765480@qq.com>
fix
Signed-off-by: tiansuo114 <1729765480@qq.com>
2024-07-18 13:10:38 +08:00
Lan Liang
70cb862478
Update karmada-apiserve and kube-controller-manager to v1.29.6 by default.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-07-16 14:01:19 +00:00
karmada-bot
fdc29c7470
Merge pull request #5127 from guozheng-shen/feat-ca
...
feat: karmadactl add ca-cert-path and ca-key-path opts
2024-07-12 14:41:05 +08:00
Amir Alavi
284dd278db
set karmada.io/system label to all member cluster registration resources
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-07-11 14:42:30 -04:00
guozheng-shen
43bb7c75ce
feat: karmadactl add ca-cert-path and ca-key-path opts
...
Signed-off-by: guozheng-shen <179826407@qq.com>
2024-07-11 21:30:44 +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
Michael Grosser
b30210f303
rename host-as-* to karmada-as-*
...
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-06-25 21:49:30 -07: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
Michael Grosser
0bc96a2f67
add --as-* options to join command ( #5016 )
...
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-06-20 09:31:46 +08:00
Lan Liang
c8524d0d78
Update karmada-apiserve and kube-controller-manager to v1.28.9 by default.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-06-19 08:38:01 +00:00
huangyanfeng
2a10b8b314
fix register cluster creates agent missing --cluster-namespace parameter
...
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-05-30 20:04:32 +08:00
Lan Liang
ed0f26c328
cleanup pointer, use ptr.Toto obtain a pointer, ptr.Deref to dereference a pointer.
...
The new k8s.io/utils/ptr package provides generic wrapper functions,
which can be used instead of type-specific pointer wrapper functions.
This replaces the latter with the former, and migrates other uses of
the deprecated pointer package to ptr in affacted files.
See kubernetes/utils#283 for details.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-28 05:32:33 +00:00
RainbowMango
a0ace65395
Removed deprecated --cluster-zone from karmadactl join command
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-22 16:23:25 +08:00
karmada-bot
e4a4a474f4
Merge pull request #3906 from Affan-7/cleanup-wait.poll
...
Migrate deprecated wait.Poll function
2024-05-22 15:52:18 +08:00
Lan Liang
5a4539d404
migrate wait.PollImmediate to wait.PollUntilContextTimeout.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-22 05:51:49 +00:00
RainbowMango
197d3358f7
Fixed golint issues and new piecies of wait.Poll
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-22 11:39:45 +08:00
Mohammed Affan
6a07cca040
Migrate deprecated wait.poll
...
Signed-off-by: Mohammed Affan <mohammed.affan.727@gmail.com>
2024-05-22 11:19:51 +08:00
karmada-bot
2ddebf1c64
Merge pull request #4960 from chaosi-zju/files
...
cleanup: grant the correct permissions when creating a file
2024-05-22 09:36:18 +08:00
chaosi-zju
52cd7716e6
cleanup: adjust log print content when delete token by karmadactl.
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-21 16:10:26 +08:00
chaosi-zju
472da38a6c
cleanup: grant the correct permissions when creating a file
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-21 09:30:38 +08:00
chaosi-zju
dee30c821b
upgrade rsa key size from 2048 to 3072
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-05-21 09:18:30 +08:00
karmada-bot
774a2b1366
Merge pull request #4934 from zhzhuang-zju/G107
...
silence gosec warning G107
2024-05-20 10:05:23 +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
warjiang
59e88f1a38
clean: remove duplicate util reference
...
Signed-off-by: warjiang <1096409085@qq.com>
2024-05-17 01:57:04 +08:00
zhzhuang-zju
9960261c17
silence gosec warning G107
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-05-13 10:09:14 +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
d4b610cad6
fix lint issues
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-06 11:36:54 +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