Skip to content

Commit

Permalink
Add instance_type
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Mar 22, 2024
1 parent 0f7d20a commit 662b9ab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/simple-node-disk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ metadata:
- num_cpus
- mem_size
- disk_size
- instance_type
- num_instances
- storage_size
- mount_path
Expand Down Expand Up @@ -66,6 +67,10 @@ topology_template:
default: 20 GB
constraints:
- valid_values: [ 20 GB, 50 GB, 100 GB, 200 GB ]
instance_type:
type: string
description: Flavor name of the instance
default: ""
num_instances:
type: integer
description: Number of VMs to be spawned
Expand Down Expand Up @@ -131,6 +136,7 @@ topology_template:
num_gpus: { get_input: num_gpus }
gpu_vendor: { get_input: gpu_vendor }
gpu_model: { get_input: gpu_model }
instance_type: { get_input: instance_type }
os:
properties:
type: linux
Expand Down

0 comments on commit 662b9ab

Please sign in to comment.