Skip to content
Snippets Groups Projects
Commit 67760ce3 authored by František Dvořák's avatar František Dvořák
Browse files

Add GPU node at SafeSpring production2

parent 05f0132b
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@ worker:
gpu:
hosts:
2001:6b0:7d:40::46f:
# using public IP of kube_server for ansible delegate_to
kube_server:
......
......@@ -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
......
......@@ -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" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment