Skip to content

Commit

Permalink
DELETE/preemptible
Browse files Browse the repository at this point in the history
  • Loading branch information
bra-fsn committed Jun 20, 2024
1 parent e760d93 commit 551c623
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inspector/inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,10 @@ def start(ctx, exclude, start_only):
bootdisk_init_opts |= dict(image="ubuntu-2404-lts-amd64", size=16)
resource_opts |= dict(bootdisk_init_opts=bootdisk_init_opts,
scheduling_opts=dict(
automatic_restart=False,
instance_termination_action="DELETE",
on_host_maintenance="TERMINATE",
instance_termination_action="TERMINATE",
preemptible=True,
))
instance_opts |= dict(metadata_startup_script=user_data)

Expand Down

0 comments on commit 551c623

Please sign in to comment.