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

tctl does not use --cluster flag #1

Open
ric-hincapie opened this issue Oct 19, 2023 · 3 comments
Open

tctl does not use --cluster flag #1

ric-hincapie opened this issue Oct 19, 2023 · 3 comments

Comments

@ric-hincapie
Copy link

ric-hincapie commented Oct 19, 2023

Code line:

--cluster #{Config.mp_cluster['name']} \

Error at rake command:

vcluster connect t1
21:06:38 done Switched active kube context to vcluster_t1_vcluster-t1_k3d-tsb-cluster
- Use `vcluster disconnect` to return to your previous kube context
- Use `kubectl get namespaces` to access the vcluster
tctl install demo     --cluster t1     --registry my-cluster-registry:5000     --admin-password admin
2023-10-19 21:06:38: waiting for ManagementPlane object to exist
Error: unknown flag: --cluster
...
rake aborted!
Command failed with status (1): [tctl install demo     --cluster t1     --r...]
/home/ubuntu/minitsb-rake/Rakefile:184:in `block in <top (required)>'
Tasks: TOP => default => deploy_scenario => install_controlplanes => install_cp_c1 => install_mp
(See full trace by running task with --trace)

Working it out. Created to keep track.

@eitansuez
Copy link
Owner

that doesn't make sense to me. if you run tctl install demo --help you'll see in the output under "Flags" the flag --cluster. what is your tctl version?

@ric-hincapie
Copy link
Author

tctl 1.6.0 does not output the --cluster option, which confused me, and I was trying to install a 1.5.5 TSB cluster. It remains to see if by removing --cluster flag it still works for backwards compatibility.
image

@boeboe
Copy link
Collaborator

boeboe commented Oct 20, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants