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?
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,subnet2I see we don't have an equivalent to the launch specs:
spotctl ocean update launchspec k --subnet-ids "subnet1,subnet2,subnet3" --spec-id SPECIDends up with this error:
Exited with error: unknown flag: --subnet-idsAlso, 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?