Skip to content

Instantly share code, notes, and snippets.

@pottava
Created July 26, 2024 05:28
Show Gist options
  • Save pottava/453cf4ece4950800f037824bc64f1923 to your computer and use it in GitHub Desktop.
Save pottava/453cf4ece4950800f037824bc64f1923 to your computer and use it in GitHub Desktop.
blueprint_name: hpc-slurm
vars:
project_id: ## Set GCP Project ID Here ##
deployment_name: hpc-slurm
region: asia-northeast1
zone: asia-northeast1-b
deployment_groups:
- group: primary
modules:
- id: network
source: modules/network/vpc
- id: debug_nodeset
source: community/modules/compute/schedmd-slurm-gcp-v6-nodeset
use: [network]
settings:
machine_type: n2-standard-2
node_count_dynamic_max: 4
enable_placement: false
- id: debug_partition
source: community/modules/compute/schedmd-slurm-gcp-v6-partition
use: [debug_nodeset]
settings:
partition_name: debug
is_default: true
- id: slurm_login
source: community/modules/scheduler/schedmd-slurm-gcp-v6-login
use: [network]
settings:
machine_type: n2-standard-4
enable_login_public_ips: true
- id: slurm_controller
source: community/modules/scheduler/schedmd-slurm-gcp-v6-controller
use:
- network
- debug_partition
- slurm_login
settings:
enable_controller_public_ips: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment