diff --git a/templates/slurm_cluster.yml b/templates/slurm_cluster.yml index 5390f21..e6c4fcf 100644 --- a/templates/slurm_cluster.yml +++ b/templates/slurm_cluster.yml @@ -84,6 +84,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: @@ -102,10 +114,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 }