Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown flag: --names,unknown flag: --clusters #278

Open
xuctom opened this issue Oct 14, 2022 · 5 comments
Open

unknown flag: --names,unknown flag: --clusters #278

xuctom opened this issue Oct 14, 2022 · 5 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@xuctom
Copy link

xuctom commented Oct 14, 2022

[root@bastion ~]# clusteradm addon disable -h
disable specific add-on(s) agent deployment to the given managed clusters

Usage:
clusteradm addon disable [flags]

Examples:

Disable application-manager addon on speccified clusters

clusteradm addon disable --name application-manager --cluster cluster1,cluster2

Disable application-manager addon on all clusters

clusteradm addon disable --name application-manager --all-clusters

Disable application-manager addon to the given managed clusters of the specify namespace

clusteradm addon disable --names application-manager --namespace --cluster

clusteradm addon disable --names application-manager --namespace open-cluster-management-agent-addon --cluster cluster1,cluster2
......
[root@bastion ~]# clusteradm addon disable --names application-manager --namespace open-cluster-management-agent-addon --cluster cluster1,cluster2
Error: unknown flag: --names

@ycyaoxdu
Copy link
Member

Hi @xuchenSingle , could you please provide more information? such as how did you get this error? or what version of clusteradm are you using? :)

@qiujian16
Copy link
Member

the comment should be clusteradm addon disable application-manager --cluster cluster1,cluster2. We should have a better document on cmdline

@qiujian16 qiujian16 added good first issue Good for newcomers help wanted Extra attention is needed labels Feb 28, 2023
@xuctom
Copy link
Author

xuctom commented Mar 2, 2023 via email

@qiujian16
Copy link
Member

we currently do not yet. We mainly use slack. Let me check if we can build one. Thanks!

@qiujian16
Copy link
Member

image
could try this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants