Disks and Deletion Policies¶
By default, disks have names in the following format:
But you can specify a custom name using the
When you're starting an instance:
Spotty is looking for existing disks using their names. If a disk exists, it will be attached to the instance.
If not - Spotty will be looking for a snapshot with the same name. If the snapshot exists, the disk will be restored from that snapshot.
If neither snapshot nor disk with this name exists, a new disk will be created.
Note: Deletion Policies for the GCP provider are not implemented yet, so, regardless of the
parameter value, created disks will retain when the instance is terminated.