Skip to content

Commit

Permalink
Merge pull request #126 from grycap/devel
Browse files Browse the repository at this point in the history
Add instance_type
  • Loading branch information
micafer authored Mar 26, 2024
2 parents f2345fd + d282ab7 commit db8a11a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/nifi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ metadata:
icon: images/nifi.png
parents:
- kubernetes.yaml
- oscar.yaml
tabs:
Nifi: nifi_.*

Expand Down
1 change: 1 addition & 0 deletions templates/oscar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ metadata:
- registry.yaml
- nodered.yaml
- kafka.yaml
- nifi.yaml

topology_template:
inputs:
Expand Down
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 db8a11a

Please sign in to comment.