diff --git a/eosc-production2/inventory/1-safespring.yaml b/eosc-production2/inventory/1-safespring.yaml index c400cbacbc70fa550b2bf0a5befc16d59ea41324..300d8227120547a04fdbd76165783122dd430813 100644 --- a/eosc-production2/inventory/1-safespring.yaml +++ b/eosc-production2/inventory/1-safespring.yaml @@ -30,6 +30,7 @@ worker: gpu: hosts: + 2001:6b0:7d:40::46f: # using public IP of kube_server for ansible delegate_to kube_server: diff --git a/eosc-production2/terraform/terraform.tfvars b/eosc-production2/terraform/terraform.tfvars index a4ad4819a90227f5b4b6d506a147b6c8d847d376..131be9c7df32f0cdd831337f2554f64815221520 100644 --- a/eosc-production2/terraform/terraform.tfvars +++ b/eosc-production2/terraform/terraform.tfvars @@ -7,14 +7,13 @@ site_name = "production2" # These may need some adjustment for your provider master_flavor_name = "l2.c4r8.100" worker_flavor_name = "l2.c16r32.100" -# XXX: replace this for GPU flavor, once available -gpu_flavor_name = "l2.c2r4.100" +gpu_flavor_name = "b2.c64r128g1" # Number of extra workers extra_workers = 8 # Number of GPU workers -gpu_workers = 0 +gpu_workers = 1 # volumes for docker docker_volumes_size = 384 diff --git a/eosc-production2/terraform/vms.tf b/eosc-production2/terraform/vms.tf index c59595e2c054cce0b35d657f1cc8b99b19f83985..5c012c7c189721bf6b1408e238932c5f8f989625 100644 --- a/eosc-production2/terraform/vms.tf +++ b/eosc-production2/terraform/vms.tf @@ -86,6 +86,13 @@ resource "openstack_compute_instance_v2" "gpu" { network { name = var.net_name } + block_device { + uuid = data.openstack_images_image_v2.ubuntu.id + source_type = "image" + destination_type = "volume" + delete_on_termination = true + volume_size = 100 + } } resource "openstack_blockstorage_volume_v3" "nfs-volume" {