Skip to content

Commit

Permalink
Set primary_datacenter
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Jul 8, 2024
1 parent d92e2aa commit a28e837
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions templates/nomad_ai4eosc_join.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ metadata:
- nomad_namespaces
- consul_cert_url
- consul_server_join
- consul_primary_datacenter
- consul_join_datacenter

topology_template:
inputs:
Expand Down Expand Up @@ -172,10 +172,10 @@ topology_template:
type: string
description: IP address of the Consul server to join
default: ''
consul_primary_datacenter:
consul_join_datacenter:
type: string
description: Primary datacenter of the Consul cluster to join
default: ''
default: 'ifca-ai4eosc'

node_templates:

Expand Down Expand Up @@ -216,7 +216,7 @@ topology_template:
nomad_input_namespaces: { get_input: nomad_namespaces }
consul_cert_url: { get_input: consul_cert_url }
consul_server_join: { get_input: consul_server_join }
consul_primary_datacenter: { get_input: consul_primary_datacenter }
consul_join_datacenter: { get_input: consul_join_datacenter }

front:
type: tosca.nodes.indigo.Compute
Expand Down Expand Up @@ -258,7 +258,7 @@ topology_template:
nomad_input_domain: { get_input: nomad_domain }
consul_cert_url: { get_input: consul_cert_url }
consul_server_join: { get_input: consul_server_join }
consul_primary_datacenter: { get_input: consul_primary_datacenter }
consul_join_datacenter: { get_input: consul_join_datacenter }

wn:
type: tosca.nodes.indigo.Compute
Expand Down Expand Up @@ -300,7 +300,7 @@ topology_template:
nomad_input_domain: { get_input: nomad_domain }
consul_cert_url: { get_input: consul_cert_url }
consul_server_join: { get_input: consul_server_join }
consul_primary_datacenter: { get_input: consul_primary_datacenter }
consul_join_datacenter: { get_input: consul_join_datacenter }

wn_pub:
type: tosca.nodes.indigo.Compute
Expand Down Expand Up @@ -350,7 +350,7 @@ topology_template:
nomad_input_domain: { get_input: nomad_domain }
consul_cert_url: { get_input: consul_cert_url }
consul_server_join: { get_input: consul_server_join }
consul_primary_datacenter: { get_input: consul_primary_datacenter }
consul_join_datacenter: { get_input: consul_join_datacenter }

wn_gpu:
type: tosca.nodes.indigo.Compute
Expand Down

0 comments on commit a28e837

Please sign in to comment.