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

Is it possible to edit launchspec (subnet ids) non-interactively? #509

Open
luanhdeandrade opened this issue Nov 18, 2022 · 0 comments
Open

Comments

@luanhdeandrade
Copy link

I couldn't reach out via slack, because there was a certificate error and the website uses hsts, that means I could not access it anyway.
Also, I didn't find anything related to my issue in stackoverflow.
So, anyway, is it possible to edit a launchspec non-interactively as we do in the clusters?

For a cluster, you can simply do this:
spotctl ocean update cluster k --cluster-id CLUSTERID --subnet-ids subnet1,subnet2

I see we don't have an equivalent to the launch specs:
spotctl ocean update launchspec k --subnet-ids "subnet1,subnet2,subnet3" --spec-id SPECID
ends up with this error:

Exited with error: unknown flag: --subnet-ids

Also, I discovered that the launchSpec can be edited, but only interactively in a vi-like command, but this won't help us as we want to make this a script.

Any ideas on this?

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

1 participant