Skip to content

Commit

Permalink
change mount path to home
Browse files Browse the repository at this point in the history
  • Loading branch information
alex000kim committed Jan 7, 2025
1 parent 6dba685 commit f789f7f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
34 changes: 17 additions & 17 deletions soperator/installations/example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,18 @@ module "filestore" {
}

module "nfs-server" {
count = var.nfs.enabled ? 1 : 0
source = "../../../modules/nfs-server"
parent_id = data.nebius_iam_v1_project.this.id
subnet_id = data.nebius_vpc_v1_subnet.this.id
ssh_user_name = "soperator"
count = var.nfs.enabled ? 1 : 0
source = "../../../modules/nfs-server"
parent_id = data.nebius_iam_v1_project.this.id
subnet_id = data.nebius_vpc_v1_subnet.this.id
ssh_user_name = "soperator"
ssh_public_keys = var.slurm_login_ssh_root_public_keys
nfs_ip_range = data.nebius_vpc_v1_subnet.this.ipv4_private_pools.pools[0].cidrs[0].cidr
nfs_size = var.nfs.size_gibibytes * 1024 * 1024 * 1024
nfs_path = "/mnt/nfs"
platform = var.nfs.resource.platform
preset = var.nfs.resource.preset
instance_name = "soperator-nfs-server"
nfs_ip_range = data.nebius_vpc_v1_subnet.this.ipv4_private_pools.pools[0].cidrs[0].cidr
nfs_size = var.nfs.size_gibibytes * 1024 * 1024 * 1024
nfs_path = "/home"
platform = var.nfs.resource.platform
preset = var.nfs.resource.preset
instance_name = "soperator-nfs-server"
providers = {
nebius = nebius
}
Expand Down Expand Up @@ -261,13 +261,13 @@ module "slurm" {
} : null
}

login_service_type = var.slurm_login_service_type
login_node_port = var.slurm_login_node_port
login_allocation_id = module.k8s.allocation_id
login_sshd_config_map_ref_name = var.slurm_login_sshd_config_map_ref_name
login_ssh_root_public_keys = var.slurm_login_ssh_root_public_keys
login_service_type = var.slurm_login_service_type
login_node_port = var.slurm_login_node_port
login_allocation_id = module.k8s.allocation_id
login_sshd_config_map_ref_name = var.slurm_login_sshd_config_map_ref_name
login_ssh_root_public_keys = var.slurm_login_ssh_root_public_keys

worker_sshd_config_map_ref_name = var.slurm_worker_sshd_config_map_ref_name
worker_sshd_config_map_ref_name = var.slurm_worker_sshd_config_map_ref_name

exporter_enabled = var.slurm_exporter_enabled
rest_enabled = var.slurm_rest_enabled
Expand Down
2 changes: 1 addition & 1 deletion soperator/installations/example/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ filestore_accounting = {
# nfs = {
# enabled = true
# size_gibibytes = 93
# mount_path = "/mnt/nfs"
# mount_path = "/home"
# resource = {
# platform = "cpu-e2"
# preset = "16vcpu-64gb"
Expand Down

0 comments on commit f789f7f

Please sign in to comment.