Closed wuyingjun-lucky closed 1 year ago
-------------------------------------------------latest test result-------------------------------------------------
/assign @lonelyCZ /assign @prodanlabs
Thanks for your hard work. I will review it ASAP.
Thanks for your contributions! @wuyingjun-lucky @duanmengkk
I just tested it that was very cool. I think we can start to review it, this is fisrt round.
Help to review again
@lonelyCZ help to review again
Ready to be reviewed @lonelyCZ
It seems not to view options
[root@master67 karmada]# ./karmadactl addons enable -h
Enable Karmada addons from Kubernetes
Examples:
# Enable Karmada all addons except karmada-scheduler-estimator to Kubernetes cluster
karmadactl addons enable all
......
Usage:
karmadactl addons enable [flags] [options]
Use "karmadactl addons options" for a list of global command-line options (applies to all commands).
[root@master67 karmada]# ./karmadactl addons options
Enable or disable a Karmada addon
Examples:
# Enable or disable Karmada addons to the karmada-host cluster
karmadactl addons enable karmada-search
Available Commands:
disable Disable karmada addons from Kubernetes
enable Enable Karmada addons from Kubernetes
list List karmada addons from Kubernetes
Use "karmadactl <command> --help" for more information about a given command.
It seems not to view options
[root@master67 karmada]# ./karmadactl addons enable -h Enable Karmada addons from Kubernetes Examples: # Enable Karmada all addons except karmada-scheduler-estimator to Kubernetes cluster karmadactl addons enable all ...... Usage: karmadactl addons enable [flags] [options] Use "karmadactl addons options" for a list of global command-line options (applies to all commands).
[root@master67 karmada]# ./karmadactl addons options Enable or disable a Karmada addon Examples: # Enable or disable Karmada addons to the karmada-host cluster karmadactl addons enable karmada-search Available Commands: disable Disable karmada addons from Kubernetes enable Enable Karmada addons from Kubernetes list List karmada addons from Kubernetes Use "karmadactl <command> --help" for more information about a given command.
Hi, @lonelyCZ
The options
seems like a sub command introduced by karmadactl.
and it works for showing global command.
Using karmadactl join -h
or other subcommand will show the same information
Do you think is it ok to use a new pr or issue to trace the options command
?
Nice finding!
Do you think is it ok to use a new pr or issue to trace the options command ?
Yes, it is ok. I found it didn't work for subcommand.
Use "karmadactl join options" for a list of global command-line options (applies to all commands).
[root@master67 karmada]# ./karmadactl join options
error: failed to get joining cluster config. error: context "options" does not exist
It looks good to me.
/cc @RainbowMango
/lgtm
/assign @RainbowMango
@RainbowMango Can you help to deal with this pull request ?
PTAL @RainbowMango
@wuyingjun-lucky is this the latest test result? Can you help update the test result to the PR description?
@wuyingjun-lucky is this the latest test result? Can you help update the test result to the PR description?
list and disable
@RainbowMango
enable
logs
search aa result
enable new cluster es
@wuyingjun-lucky is this the latest test result? Can you help update the test result to the PR description?
updated
Looks like it's a huge feature. Would you like to make a demo at the community meeting?
@prodanlabs Any comments?
-bash-4.2# ./_output/bin/linux/amd64/karmadactl addons list --help
List Karmada addons from Kubernetes
Does list
mean to check whether supported addons
are installed on a specific cluster?
In addition, enable
/disable
mean to install/install addons from a specific cluster?
Looks like it's a huge feature. Would you like to make a demo at the community meeting?
@prodanlabs Any comments?
Of course if we are able to attend the meeting
-bash-4.2# ./_output/bin/linux/amd64/karmadactl addons list --help List Karmada addons from Kubernetes
Does
list
mean to check whether supportedaddons
are installed on a specific cluster?In addition,
enable
/disable
mean to install/install addons from a specific cluster?
Yes
Great, looking forward to meeting you at the meeting.
/reopen
@wuyingjun-lucky: Reopened this PR.
Bot Bug happend.
As https://github.com/karmada-io/karmada/pull/2283 merged. This pr closed as it refer to 2283
fix comments.
/cc @RainbowMango
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: RainbowMango
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Bot Bug happend. As https://github.com/karmada-io/karmada/pull/2283 merged. This pr closed as it refer to 2283 fix comments.
:) Actually, this is GitHub behavior, not bot..., bot won't close issues when merging PRs.
Co-authored-by: duanmeng duanmeng_yewu@cmss.chinamobile.com Signed-off-by: wuyingjun wuyingjun_yewu@cmss.chinamobile.com
What type of PR is this? /kind feature
What this PR does / why we need it: Add karmadactl addons subcommand Which issue(s) this PR fixes: Fixes https://github.com/karmada-io/karmada/issues/1957
Special notes for your reviewer:
Does this PR introduce a user-facing change?: