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

Enable to open ports in slurm #106

Merged
merged 1 commit into from
Feb 28, 2024
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
17 changes: 13 additions & 4 deletions templates/slurm_cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,18 @@ topology_template:
constraints:
- valid_values: [ '23.11.1', '20.11.9', '21.08.5', '21.08.8', '22.05.10' ]

fe_ports:
type: map
entry_schema:
type: PortSpec
description: |
List of ports to be Opened in FE node (eg. 22,80,443,2000:2100).
You can also include the remote CIDR (eg. 8.8.0.0/24).
default:
ssh_port:
source: 22
protocol: tcp

node_templates:


Expand All @@ -101,10 +113,7 @@ topology_template:
properties:
dns_name: slurmserver
network_name: PUBLIC
ports:
http_port:
protocol: tcp
source: 80
ports: { get_input: fe_ports }
host:
properties:
num_cpus: { get_input: fe_cpus }
Expand Down