Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instance_type to htcondor #237

Merged
merged 1 commit into from
Jan 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion templates/htcondor_cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ topology_template:
required: yes
constraints:
- valid_values: [ 2 GiB, 4 GiB, 8 GiB, 16 GiB, 32 GiB, 64 GiB, 128 GiB, 256 GiB, 512 GiB ]
fe_instance_type:
type: string
description: Flavor name of the front-end node
default: ''
wn_cpus:
type: integer
description: Number of CPUs for the Worker Nodes
Expand All @@ -56,7 +60,10 @@ topology_template:
required: yes
constraints:
- valid_values: [ 2 GiB, 4 GiB, 8 GiB, 16 GiB, 32 GiB, 64 GiB, 128 GiB, 256 GiB, 512 GiB ]

wn_instance_type:
type: string
description: Flavor name for the WNs
default: ''
fe_disk_size:
type: scalar-unit.size
description: Size of the disk to be attached to the FE instance (Set 0 if disk is not needed)
Expand Down Expand Up @@ -122,6 +129,7 @@ topology_template:
properties:
num_cpus: { get_input: fe_cpus }
mem_size: { get_input: fe_mem }
instance_type: { get_input: fe_instance_type }
os:
properties:
type: linux
Expand Down Expand Up @@ -160,6 +168,7 @@ topology_template:
properties:
num_cpus: { get_input: wn_cpus }
mem_size: { get_input: wn_mem }
instance_type: { get_input: fe_instance_type }
os:
properties:
type: linux
Expand Down
Loading