karmada-bot
821a18542e
Merge pull request #1990 from CharlesQQ/cluster-pull-secret
...
feat: agent report secret
2022-07-08 10:56:31 +08:00
karmada-bot
6adce059d6
Merge pull request #2140 from Fish-pro/fix-option-lowercase
...
karmadactl:modify the cluster parameter from lowercase to uppercase
2022-07-08 10:37:34 +08:00
karmada-bot
3aa00ac72f
Merge pull request #2124 from carlory/fix-karmadactl
...
improve karmadactl description
2022-07-08 10:32:39 +08:00
carlory
796383dc63
allow to read namespace from the context field of karmada config
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-07 21:12:01 +08:00
charlesQQ
8738617ad0
feat: agent report secret
...
Signed-off-by: charlesQQ <charles_ali@qq.com>
2022-07-07 14:26:07 +08:00
chen zechun
13600f02b9
modify the promote option of cluster lowercase
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-07-07 08:02:12 +08:00
karmada-bot
bffd4f8bba
Merge pull request #2132 from Fish-pro/fix-namespace-usage
...
karmadactl:modify the usage of cluster-namespace
2022-07-05 18:24:33 +08:00
chen zechun
4111e8342a
Modify the usage of cluster-namespace
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-07-05 17:11:30 +08:00
changzhen
708b39eb6d
upgrade default karmada-apiserver from v1.22.10 to v1.23.8
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-07-05 15:37:17 +08:00
carlory
c60573df9a
improve karmadactl description
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-04 20:37:50 +08:00
karmada-bot
18e3fba143
Merge pull request #2016 from zgfh/deinit-update
...
feature: `deinit` add param of `force`
2022-07-04 14:47:27 +08:00
karmada-bot
417dc98478
Merge pull request #2094 from wuyingjun-lucky/gci
...
Add gci to seperate goimports to three parts
2022-07-04 09:28:26 +08:00
wuyingjun
d6b4fac842
add gci to seperate goimports to three parts
...
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-07-03 11:09:50 +08:00
karmada-bot
6b69d11748
Merge pull request #2093 from wuyingjun-lucky/misspell
...
Add misspell in golangci
2022-07-01 23:21:25 +08:00
karmada-bot
3a74e2c8d1
Merge pull request #2022 from carlory/remove-useless-function
...
remove useless function in the get_flags.go file
2022-07-01 12:11:23 +08:00
wuyingjun
5d3185b622
add misspell to golangci
...
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-06-30 16:47:00 +08:00
carlory
ed428ac0ee
remove useless function in the get_flags.go file
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
Co-authored-by: Zhe Cheng <47743202+lonelyCZ@users.noreply.github.com>
2022-06-30 09:58:43 +08:00
karmada-bot
0abb792bbf
Merge pull request #1850 from hanweisen/adde2etest
...
[E2E] add karmadactl cordon/uncordon e2e test
2022-06-29 10:44:21 +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
karmada-bot
4440645e09
Merge pull request #2039 from AllenZMC/liveness
...
add livenessProbe for karmada-controller-manager
2022-06-23 10:21:15 +08:00
karmada-bot
bd5ff7a86d
Merge pull request #2048 from chaunceyjiang/join_zone_region
...
Manually specify the Zone and Region of the cluster
2022-06-22 15:12:14 +08:00
karmada-bot
0601e11a82
Merge pull request #2045 from wlp1153468871/wlp
...
improve webhook_configuration.go
2022-06-22 14:39:14 +08:00
chaunceyjiang
6ac2a75e6b
Manually specify the Zone and Region of the cluster
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-06-22 14:13:52 +08:00
karmada-bot
b4a130487b
Merge pull request #2044 from my-git9/deployments4
...
improve deployments.go
2022-06-22 13:51:14 +08:00
wlp1153468871
1c7494bf4f
improve code
...
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-06-22 10:47:25 +08:00
karmada-bot
588fae9287
Merge pull request #2029 from RainbowMango/pr_add_prodanlabs
...
Add prodanlabs to approver list
2022-06-22 08:51:18 +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
xin.li
dede5ad078
improve deployments.go
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-06-21 16:55:23 +08:00
karmada-bot
66857b67b3
Merge pull request #2038 from cutezhangq/imports/package
...
The package imports can be improved
2022-06-21 09:22:13 +08:00
AllenZMC
7fd951e95a
add livenessProbe for karmada-controller-manager
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-06-20 23:28:41 +08:00
cutezhangq
7bbf649e5f
imports/package
...
Signed-off-by: cutezhangq <qian.zhang@daocloud.io>
2022-06-20 22:58:43 +08:00
RainbowMango
43be572ebd
Add prodanlabs to approver list
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-06-20 10:20:50 +08:00
carlory
ac1121365a
remove dry-run from GlobalCommandOptions
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-06-19 00:06:39 +08:00
RainbowMango
5a3266c3e2
Put lonelyCZ to owner files
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-06-17 18:14:09 +08:00
hanweisen
429dae2340
add karmadactl cordon/uncordon e2e test
...
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-06-17 09:58:31 +08:00
Alan Zhu
2048c4a42d
`deinit` add param of `force`
...
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-06-17 08:10:53 +08:00
karmada-bot
8304974169
Merge pull request #1933 from my-git9/deinit-1
...
modify output for deinit
2022-06-16 15:33:13 +08:00
karmada-bot
75019ad1e2
Merge pull request #1883 from xyz2277/karmada-zyx-8
...
add Error message when unjoining cluster with a non-existent clustername
2022-06-16 15:03:08 +08:00
karmada-bot
5a4f449d3b
Merge pull request #2003 from Momeaking/dev-fix-etcd-dp
...
fix etcd-default-path
2022-06-16 10:12:08 +08:00
Momeaking
e9144f4837
fix etcd-default-path
...
Signed-off-by: Momeaking <1026415175@qq.com>
2022-06-15 10:15:03 +08:00
bruce
faf8558b02
add Error message when unjoining cluster with a non-existent clustername
...
Signed-off-by: bruce <zhangyongxi_yewu@cmss.chinamobile.com>
2022-06-15 10:09:53 +08:00
karmada-bot
3791cd5815
Merge pull request #1824 from wuyingjun-lucky/promote_bug
...
Fix promoting failed if a resource with other kind used same name has promoted before
2022-06-08 11:54:58 +08:00
wuyingjun
667e0ee9d5
fix promoting failed if a resource with other kind used same name has promoted before
...
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-06-04 21:10:55 +08:00
karmada-bot
08fe6a6df0
Merge pull request #1855 from hanweisen/karmadainit
...
when type wrong etcd-storage-mode throw error
2022-06-02 12:02:52 +08:00
AllenZMC
62b5181d33
Update default kube-apiserver from v1.21 to v1.22
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-06-01 15:57:32 +08:00
karmada-bot
60170ea4b5
Merge pull request #1916 from my-git9/etcd4
...
adjust etcd version
2022-06-01 14:00:51 +08:00
xin.li
99807e3f75
modify output for deinit
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-05-31 21:08:36 +08:00
xin.li
7a01a35204
adjust etcd version
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-05-30 21:57:27 +08:00
karmada-bot
22b368abb4
Merge pull request #1909 from hanweisen/cleanup
...
delete unused parameter
2022-05-30 09:28:48 +08:00
hanweisen
b8abd537fb
delete unused parameter
...
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-05-29 23:36:52 +08:00
karmada-bot
4eba0e506b
Merge pull request #1890 from my-git9/livs
...
Add livenes for karmada-scheduler
2022-05-29 00:11:46 +08:00
karmada-bot
9b8fec2537
Merge pull request #1878 from lonelyCZ/pr-optimize-deinit
...
Optimize deinit according former comments
2022-05-27 09:41:46 +08:00
bruce
05012477f5
a bad log was found when doing promote
...
Signed-off-by: bruce <zhangyongxi_yewu@cmss.chinamobile.com>
2022-05-26 20:10:57 +08:00
xin.li
068f64e32f
add livenes for karmada-scheduler
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-05-26 19:09:12 +08:00
lonelyCZ
c8ed3f8145
Optimize deinit according former comments
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-25 10:32:14 +08:00
karmada-bot
766def4bc9
Merge pull request #1867 from zirain/readiness
...
add readiness for aa
2022-05-24 15:53:42 +08:00
karmada-bot
a2ddf45217
Merge pull request #1869 from anu491/removing_deprecated_flag
...
Removed Deprecated karmada-config flag
2022-05-23 21:30:47 +08:00
anu491
ea3ff53a7a
Removed Deprecated flag
...
Signed-off-by: anu491 <anutosh.bhat.21.linux@gmail.com>
2022-05-23 15:54:58 +05:30
hejianpeng
fac03b4ff3
add readiness for aa
...
Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
2022-05-23 14:47:21 +08:00
bruce
f4ed1d5fa2
karmada agent can't find context of karmada-apiserver.config
...
Signed-off-by: bruce <zhangyongxi_yewu@cmss.chinamobile.com>
2022-05-23 11:37:21 +08:00
hanweisen
c40bd7ea45
when type wrong etcd-storage-mode throw error
...
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-05-21 22:48:45 +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
97fc9d5bca
Merge pull request #1825 from wuyingjun-lucky/taint_bug
...
fix karmadactl taint failed
2022-05-19 14:28:46 +08:00
wuyingjun
44df4a9aca
fix karmadactl taint failed
...
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-18 16:31:32 +08:00
karmada-bot
9a62ca140b
Merge pull request #1796 from lonelyCZ/pr-exec-describe-cmd
...
Add exec and describe function to karmadactl
2022-05-18 15:57:46 +08:00
karmada-bot
cc53e75b1c
Merge pull request #1337 from prodanlabs/karmadactl-deinit
...
karmadactl add deinit subcommand
2022-05-18 15:01:48 +08:00
changzhen
36e4bff38c
modify karmadactl logs example
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-18 11:00:48 +08:00
karmada-bot
5577f05587
Merge pull request #1802 from XiShanYongYe-Chang/karmada-search
...
Add karmada-search fabric
2022-05-17 10:48:46 +08:00
changzhen
3e217b0249
add karmada-search fabric
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-17 09:24:04 +08:00
lonelyCZ
4439316d2a
Add describe function to karmadactl
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-16 10:54:26 +08:00
lonelyCZ
8cae9be548
Add exec function to karmadactl
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-16 10:53:33 +08:00
lonelyCZ
36090a1bfa
Make getclusterInfo function more general
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-15 22:03:57 +08:00
lonelyCZ
aae6d087d0
Enable promote command to support AA
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-14 16:49:45 +08:00
karmada-bot
a35672271f
Merge pull request #1764 from wuyingjun-lucky/debug_fot
...
feature_1753:support kube-image-mirror-country and kube-image-registry
2022-05-13 15:33:43 +08:00
carlory
77b37983ba
fix karmadactl init examples
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-05-13 14:25:40 +08:00
wuyingjun
78cb7291c0
feature_1753:support kube-image-mirror-country and kube-image-registry
...
Update pkg/karmadactl/cmdinit/kubernetes/deploy.go
Co-authored-by: Zhe Cheng <47743202+lonelyCZ@users.noreply.github.com>
Update pkg/karmadactl/cmdinit/cmdinit.go
Co-authored-by: Zhe Cheng <47743202+lonelyCZ@users.noreply.github.com>
Apply suggestions from code review
Co-authored-by: Zhe Cheng <47743202+lonelyCZ@users.noreply.github.com>
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-12 22:29:48 +08:00
duanmeng
e7ba433f50
fixed a bug where not-namespaced resource could not be promoted
...
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-05-12 10:57:35 +08:00
wuyingjun
8f88eec583
modify variable format using hump
...
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-12 09:21:33 +08:00
karmada-bot
da78076e26
Merge pull request #1759 from duanmengkk/master
...
fixed a panic which due to nil annotation during promote resources to Karmada
2022-05-11 16:50:31 +08:00
prodan
ac4bde1bf6
karmadactl add deinit subcommand
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-05-11 02:11:37 +08:00
duanmeng
9ea26cc144
fix empty anannotation which result to null-pointer exception when add overwrite annotation
...
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-05-10 22:02:16 +08:00
karmada-bot
2bc6ef8bd0
Merge pull request #1721 from lonelyCZ/pr-unify-example
...
Unify usage example template of karmadactl
2022-05-10 15:37:31 +08:00
lonelyCZ
4908b313b7
Unify usage example template of karmadactl
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-10 12:08:11 +08:00
lonelyCZ
885cbbe61c
Add --context for karmadactl init
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-09 15:24:11 +08:00
Alan Zhu
22a3c92a83
update UserName of kubeconfig with clusterNmae perfix
...
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-05-01 23:59:07 +08:00
Alan Zhu
5e6fd0b8a0
bump default alpine image of karmadactl init from v3.14.3 to v3.15.1
...
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-05-01 08:34:34 +08:00
prodan
3f3165e8d4
add `leader-elect-resource-namespace` flags
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-04-28 21:08:45 +08:00
karmada-bot
de7b7a15ce
Merge pull request #1638 from lonelyCZ/pr-get-watch
...
Add watch function for karmadactl get
2022-04-25 21:05:13 +08:00
lonelyCZ
f8f2c6b672
Add watch function for karmadactl get
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-23 21:21:09 +08:00
lonelyCZ
a52bfca0b8
Add logs function to karmadactl
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-22 13:52:12 +08:00
hanweisen
9c8824642f
fix pull mode example error
...
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-04-12 11:46:15 +08:00
lonelyCZ
32db15983b
Fix karmadactl get -o yaml|json reporting null error
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-11 00:14:53 +08:00
lonelyCZ
93c3c04c35
Implement karmadactl get to support pull mode cluster
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-02 14:46:30 +08:00
karmada-bot
9cbe962748
Merge pull request #1550 from AllenZMC/karmadactl
...
karmadactl init: add cluster proxy rbac for admin when deploy Karmada control plane
2022-03-31 19:41:02 +08:00
AllenZMC
92bd69a7e6
karmadactl init: add cluster proxy rbac for admin when deploy Karmada control plane
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-03-31 15:51:53 +08:00
lonelyCZ
144a77ced8
Add output information when no resource is found
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-03-29 20:53:36 +08:00
lonelyCZ
6a669fa962
refactor Obj to save more information about resources
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-03-29 19:48:22 +08:00
lonelyCZ
7a0eefb040
Enable karmadactl get command to leverage aggregated API
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-03-24 16:36:44 +08:00
karmada-bot
df93b7d28c
Merge pull request #1456 from prodanlabs/karmadactl-init-fix
...
`karmadactl`: Fixed `init` commands can not select default release version issue.
2022-03-16 16:16:30 +08:00
karmada-bot
aef51c0a48
Merge pull request #1460 from XiShanYongYe-Chang/tidy-up-lifted-file
...
Tidy up lifted file
2022-03-15 20:49:31 +08:00
RainbowMango
0f2219840f
Rename karmada controller manager yaml file name
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-15 11:02:45 +08:00
changzhen
d711b72f45
tidy up lifted file
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-15 10:42:32 +08:00
RainbowMango
9279870035
Add another idea about release version
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-03-14 15:15:35 +08:00
lonelyCZ
d3ac601801
Fix bug: [karmadactl init] can not read KUBECONFIG environment variable
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-03-11 18:08:01 +08:00
karmada-bot
43748ff38e
Merge pull request #1455 from prodanlabs/karmadactl-feature
...
delete the karmada data directory before installing with init
2022-03-11 15:49:24 +08:00
prodan
66c5f2701a
fix init image and crd default version
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-03-10 12:30:37 +08:00
prodan
38c2eb9040
delete the karmada data directory before installing with init
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-03-08 23:14:37 +08:00
sayaoailun
a1bc670e3f
replace hard coded namespace with custom namespace
...
Signed-off-by: sayaoailun <guojianwei007@126.com>
2022-03-08 14:10:39 +08:00
sayaoailun
b5a0160541
bug fix: flag -n doesn't work as expected
...
Signed-off-by: sayaoailun <guojianwei007@126.com>
2022-03-08 08:58:58 +08:00
karmada-bot
0ef339011d
Merge pull request #1426 from zgfh/fix-kubectl-karmada-log
...
fix bug: fix can not use '-v 6' to set log level when run kubectl-karmada
2022-03-07 09:38:18 +08:00
Alan Zhu
38dd00d46c
fix bug: fix can not use '-v 6' to set log level when run kubectl-karmada
...
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-03-04 14:13:16 +08:00
Alan Zhu
03baf1285e
feature: Add check for cluster apiservice when install karmada with kubectl-karmada
...
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-03-04 13:40:15 +08:00
karmada-bot
2bd15c9909
Merge pull request #1381 from kerthcet/feature/remove-temp-files-in-tests
...
feat: remove temp files in tests
2022-02-22 09:49:04 +08:00
kerthcet
defd566097
feat: remove temp files in tests
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-02-20 13:56:30 +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
lonelyCZ
f488d6be90
Fix karmadactl get -o yaml|json
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-02-09 16:28:10 +08:00
lonelyCZ
9b5c9b7ee8
Cleanup checking kubeconfig in karmadactl get
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-02-09 13:14:28 +08:00
karmada-bot
9800c3c672
Merge pull request #1270 from lonelyCZ/optimize-get
...
Optimize karmadactl get to output more information
2022-01-21 11:09:30 +08:00
lonelyCZ
684d6c9ab4
Optimize karmadactl get to output more information
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-01-20 20:11:19 +08:00
Alan Zhu
eeb0f28244
karmada init: add more message for easy debug when nodePort exist
...
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
2022-01-20 18:33:29 +08:00
Xinzhao Xu
501f68aea4
Clean up the code that converts Unstructured objects
...
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2022-01-19 10:28:30 +08:00
karmada-bot
1c0abe6ef2
Merge pull request #1257 from RainbowMango/pr_set_owners
...
Put prodanlabs to owner list
2022-01-15 10:19:34 +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
RainbowMango
44bee6cb3a
Put prodanlabs to owner list of init functionality
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-01-14 09:46:46 +08:00
karmada-bot
36176d6a85
Merge pull request #1198 from liangyongzhenya/fix_--cluster-namespace_misleading_description
...
fix --cluster-namespace misleading description
2022-01-10 09:47:51 +08:00
prodan
36b92cc412
organize `karmadactl init` code
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-01-05 19:04:26 +08:00
karmada-bot
808e487a2d
Merge pull request #1211 from Fish-pro/add-space
...
Comment should start with a whitespace
2022-01-05 14:46:45 +08:00
liangyongzhenya
88ba704db2
fix --cluster-namespace misleading description
...
Signed-off-by: liangyongzhenya <yongzhen.liang@daocloud.io>
2022-01-05 14:14:22 +08:00
chen zechun
b2a11f00b0
add a space before the first letter
...
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
Add spaces for all comments .go file in "pkg/karmadactl/cmdinit/utils/"
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-01-05 11:43:09 +08:00
prodan
d0665aaf82
Fix karmadactl init not found v1alpha1.cluster.karmada.io object
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2022-01-03 02:01:34 +08:00
lonelyCZ
8e298f9fa1
Add parentCommand to make init command compatible with karmadactl
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-12-29 12:07:28 +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
7c2be233b7
Merge pull request #1174 from prodanlabs/karmadactl-init
...
Log print karmada text logo
2021-12-28 18:00:37 +08:00
prodan
24dc3e5a29
Log print karmada text logo
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2021-12-28 15:46:05 +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
karmada-bot
a46961fc7d
Merge pull request #1169 from prodanlabs/karmadactl-init
...
adjust the steps of karmadactl init, update examples
2021-12-27 19:49:37 +08:00
prodan
e38e3cb2e0
adjust the steps of karmadactl init and update examples
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2021-12-27 17:40:17 +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
RainbowMango
b582a380e1
Put lonelyCZ on the owner list
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-12-25 16:09:29 +08:00
RainbowMango
5797e41161
Update karmada init command help
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-12-24 18:09:02 +08:00
prodan
a6219a90cb
update `kubectl-karmada init`
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2021-12-24 18:04:59 +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
98a5204f19
Merge pull request #1142 from prodanlabs/karmadactl-init
...
Enable `karmada-aggregated-apiserver` installation by `kubectl-karmada init`
2021-12-22 18:30:33 +08:00
prodan
afc5ec05ee
update `karmadactl init` of #1122
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2021-12-22 18:01:18 +08:00
lonelyCZ
501bb52ebb
implement karmadactl promote to promote workloads from legacy clusters
...
Co-authored-by: dddddai <dddwq@foxmail.com>
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-12-21 17:57:33 +08:00
prodan
63e2882a34
change the default path of `karmadactl init`
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2021-12-21 15:29:22 +08:00
lonelyCZ
010f07eb4c
Update webhook of karmadactl init
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-12-20 20:51:40 +08:00
guoyao
e340e001c7
replace github.com/pkg/errors with golang native errors
...
Signed-off-by: guoyao <1015105054@qq.com>
2021-12-17 16:40:51 +08:00
prodan
4dd187ba43
kubectl-karmada add init Command
...
Signed-off-by: prodan <pengshihaoren@gmail.com>
2021-12-16 21:46:09 +08:00
lonelyCZ
8d11956649
update error report when cluster already exist
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-12-02 23:19:12 +08:00
karmada-bot
763a50ef3c
Merge pull request #946 from gy95/karmadactl
...
cleanup karmada ctl code
2021-11-30 16:33:08 +08:00
guoyao
3672d6d0a3
cleanup karmada ctl code
...
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-30 14:36:23 +08:00
lonelyCZ
d40c33b75b
Add UT for karmadactl taint
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-11-29 19:44:00 +08:00
karmada-bot
f0f0bad9e7
Merge pull request #889 from lonelyCZ/karmadactl-taint
...
Implement karmadactl taint to add taints into a cluster
2021-11-27 09:23:06 +08:00
lonelyCZ
ab0b74d72b
Implement karmadactl taint to add taints into a cluster
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-11-26 18:05:24 +08:00
karmada-bot
76c7514724
Merge pull request #1025 from 2hangchen/feat_providerwithjoin
...
Specify the provider manually.
2021-11-25 20:36:03 +08:00
Pilipalaca
0322139e62
feat: can specify the provider manually
...
Signed-off-by: Pilipalaca <85749695@qq.com>
change the params
Signed-off-by: Pilipalaca <85749695@qq.com>
2021-11-25 20:02:12 +08:00
lonelyCZ
b634297edf
Remove ClusterNamespace from GlobalCommandOptions
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-11-23 16:49:43 +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
02c72b5206
Merge pull request #908 from learner0810/add_karmadactl_get_example
...
add karmadactl get -h example
2021-11-18 10:23:05 +08:00
zhongjun.li
aea3f8886a
add karmadactl get example
...
Signed-off-by: zhongjun.li <zhongjun.li@daocloud.io>
2021-11-18 09:53:53 +08:00
Phil-sun
78223a2aae
update work version in get.go
...
Signed-off-by: Phil-sun <sunxh0000@163.com>
2021-11-17 13:48:24 +08:00
lonelyCZ
529c907d93
Clean klog errorf in karmadactl
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-11-15 18:30:20 +08:00
guoyao
193e00d832
continue try to get resource when not found
...
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-10 15:58:43 +08:00
guoyao
b22da790ea
cleanup some codes
...
Signed-off-by: guoyao <1015105054@qq.com>
2021-11-08 20:43:39 +08:00
wawa0210
e14ac56e58
clean up muti-err return
...
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-11-07 09:32:24 +08:00
lonelyCZ
bc0250aa1c
Remove klog from karmadactl cordon
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-11-02 22:29:56 +08:00
algebra2k
4df8f92b0f
fix: tips for karmadactl help options
...
Signed-off-by: algebra2k <jackson.cloudnative@gmail.com>
2021-11-02 16:52:05 +08:00
lonelyCZ
221a8ad61b
replace err report with RunE
...
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-11-01 23:28:10 +08:00
wawa0210
78603cc2c7
Introduce --wait flag for karmada join or unjoin command
...
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-11-01 00:10:26 +08:00
wawa0210
a47fdfd73d
Extract join| unjoin parameters and pass struct to avoid too many parameters in the signature
...
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-10-30 13:05:10 +08:00
changzhen
e16d435c83
enlarge waiting time in unjoin cluster process
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-10-26 10:31:58 +08:00
guoyao
7452ca26c4
replace github.com/pkg/errors with Go native error
...
Signed-off-by: guoyao <1015105054@qq.com>
2021-10-20 16:29:45 +08:00
karmada-bot
5f452943d3
Merge pull request #833 from mrlihanbo/karmadactl-cleanup
...
fatal when errors heppen in karmadactl
2021-10-19 21:00:05 +08:00
karmada-bot
74371bf550
Merge pull request #754 from QAQ-rookie/feature/karmada-get
...
add get function to karmadactl
2021-10-19 14:18:03 +08:00
xubin
c83ba34a5f
add get function to karmadactl
...
Signed-off-by: xubin <781647222@qq.com>
2021-10-19 10:24:04 +08:00
lihanbo
a643c093f1
fatal when errors heppen in karmadactl
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-10-19 09:05:34 +08:00
learner0810
844708a8fc
fix invalid memory address or nil pointer dereference
...
Signed-off-by: learner0810 <zhongjun.li@daocloud.io>
2021-10-03 13:11:28 +08:00
iawia002
98cb836c31
Move the token and caData definitions to the API definition file
...
Signed-off-by: iawia002 <z2d@jifangcheng.com>
2021-09-27 10:11:52 +08:00
changzhen
37ca30ad8f
unify version command
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-14 22:08:11 +08:00
changzhen
88c2446b50
support kubectl karmada plugin
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-08 11:15:57 +08:00
changzhen
cb329fd99c
Cleanup cyclomatic complexity with function JoinCluster
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-08-20 19:43:21 +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
Jackson
f3889bcc2d
cluster unschedulable support for schedulers ( #464 )
...
* use taint to support cordon and uncordon a cluster for karmadactl
Signed-off-by: algebra2k <jackson.cloudnative@gmail.com>
* fix lint error
Signed-off-by: algebra2k <jackson.cloudnative@gmail.com>
2021-08-10 10:15:15 +08:00
changzhen
0d82edcebe
fix an bug when add secret ownerreference with cluster
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-08-03 09:26:06 +08:00
RainbowMango
a81c714afc
Enable gocyclo static check
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-06-22 21:38:07 +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
Iceber Gu
196c394d88
karmadactl: fix join in dry-run mode ( #355 )
...
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2021-05-24 10:47:00 +08:00
Wang Bing
7a0d6c9b8c
Remove cluster namespace ( #352 )
...
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-05-18 23:42:07 +08:00
gy95
92c5df6c35
add linter whitespace and fix linter errors
...
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-05-17 14:23:24 +08:00
liufen90
d91f7868d0
support proxy ( #307 )
...
Signed-off-by: liufen90 <564795204@qq.com>
2021-05-12 10:51:15 +08:00
gy95
46de97140e
remove unnecessary todo
...
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-04-29 21:27:43 +08:00
Jackson
ee4392cc19
feature: support version command for karmadactl ( #285 )
...
* feature: support version command for karmadactl
Signed-off-by: pingstar <kubeshared.com@gmail.com>
2021-04-27 17:13:26 +08:00
Hanbo Li
dcad956744
optimize karmadactl unjoin command ( #254 )
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-04-02 10:14:07 +08:00
Hanbo Li
59a02e0030
add karmada agent ( #226 )
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-03-24 14:51:13 +08:00
RainbowMango
c2bfd80f71
adopt cluster api change
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-03-24 10:35:09 +08:00
Hongcai Ren
5f7305f1d7
Rename PropagationWork to Work. ( #169 )
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-02-09 14:30:34 +08:00
xsy
0c5cb6505a
Fix typo ( #160 )
...
Signed-off-by: xieshiyi <xieshiyi1@huawei.com>
2021-02-03 18:11:22 +08:00
Hanbo Li
8cc6f72cf2
support skip member cluster TLS verification ( #159 )
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-02-03 16:31:07 +08:00
Hongcai Ren
13a904c6cd
validate joinning cluster name ( #146 )
...
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-01-26 14:32:13 +08:00
Kevin Wang
4afcabe5f1
rename apigroup name, from propagationstrategy to policy
...
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-01-25 15:55:06 +08:00
Kevin Wang
2840ea248f
rename membercluster to cluster in join unjoin
...
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-01-23 09:53:52 +08:00
Kevin Wang
e33559250c
rename membercluster to cluster in relevant implementations
...
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-01-23 09:53:52 +08:00
Kevin Wang
da394ab07a
rename membercluster api to cluster
...
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2021-01-23 09:53:52 +08:00
Kevin Wang
52ff0e4ab9
reflect github org update ( #73 )
...
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2020-12-15 11:47:13 +08:00
Hanbo Li
edd8763265
add karmadactl unjoin command ( #67 )
2020-12-14 17:36:48 +08:00
Hongcai Ren
631b719bbd
rename --kubeconfig-path with --kubeconfig ( #65 )
2020-12-08 17:07:25 +08:00
RainbowMango
aa24ea2457
client interface change after scope change.
2020-12-08 14:12:35 +08:00
Hanbo Li
73f34fe760
fixed spelling mistakes of karmadactl join command example ( #39 )
2020-11-27 16:02:27 +08:00
RainbowMango
c4713b24a6
add karmada controll command to help joining a cluster.
2020-11-20 10:09:47 +08:00