ebsarr / packet

packet, a CLI tool to manage packet.net services
Other
40 stars 14 forks source link

Add support for spot market #14

Closed vielmetti closed 6 years ago

vielmetti commented 7 years ago

Packet now has support for a "spot market" for interruptible, reduced price instances. There's a brief bit of documentation at

https://help.packet.net/technical/deployment-options/spot-market

Two commands to add to support this:

I think the first of these is relatively straightforward; the second one, perhaps will take a little thinking, especially in handling error conditions.

ebsarr commented 6 years ago

@vielmetti : I'm starting to catch up with the additions in the packet API. For the spot instance creation, do the flags below make sense?

For the error handling part I'll run some tests and see what happens, as it's not obvious from the docs.

vielmetti commented 6 years ago

Thanks @ebsarr . If you run into weird error conditions report them here and I'll make sure they get a review and that the documentation gets updated anywhere it's unclear. Your plan sounds good to me.

ebsarr commented 6 years ago

@vielmetti : try v2.1