Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
add sections to provide optional Spot VM provision
Browse files Browse the repository at this point in the history
  • Loading branch information
vadaszgergo committed Nov 6, 2022
1 parent ae5b874 commit 109cd4d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,11 @@ def Instance(context, mgmtSharedVpc):
]
},
'zone': context.properties['availabilityZone1'],
'metadata': Metadata(context)

'metadata': Metadata(context),
# adding scheduling section in order to optionally create Spot VM
'scheduling': {
'provisioningModel': context.properties['provisioningModel']
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ resources:
restrictedSrcAddressApp:
### (OPTIONAL) Provision Public IP addresses for BIG-IP Network Interfaces. By default it is set to provision public IPs.
provisionPublicIP: yes
### (REQUIRED) Change the default 'STANDARD' to 'SPOT', if you want to provision Spot VM (https://cloud.google.com/compute/docs/instances/spot)
provisioningModel: STANDARD
### If you would like to view all available images, run the following command from the **gcloud** command line: ```$ gcloud compute images list --project f5-7626-networks-public | grep f5```
### (OPTIONAL) BIG-IP image, valid choices include:

Expand Down

0 comments on commit 109cd4d

Please sign in to comment.