Skip to content

Commit

Permalink
Merge pull request #3521 from tpdownes/psa_filestore
Browse files Browse the repository at this point in the history
Update Filestore examples to use Private Service Access
  • Loading branch information
tpdownes authored Jan 10, 2025
2 parents f14dd43 + c867426 commit 70d539f
Show file tree
Hide file tree
Showing 17 changed files with 62 additions and 22 deletions.
16 changes: 10 additions & 6 deletions community/examples/hpc-slurm-gromacs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,23 @@ vars:
deployment_groups:
- group: primary
modules:
- id: network1
- id: network
source: modules/network/vpc

- id: private_service_access
source: community/modules/network/private-service-access
use: [network]

## Filesystems
- id: appsfs
source: modules/file-system/filestore
use: [network1]
use: [network, private_service_access]
settings:
local_mount: /sw

- id: homefs
source: modules/file-system/filestore
use: [network1]
use: [network, private_service_access]
settings:
local_mount: /home

Expand Down Expand Up @@ -93,7 +97,7 @@ deployment_groups:

- id: compute_nodeset
source: community/modules/compute/schedmd-slurm-gcp-v6-nodeset
use: [network1]
use: [network]
settings:
node_count_dynamic_max: 20
bandwidth_tier: gvnic_enabled
Expand All @@ -108,14 +112,14 @@ deployment_groups:

- id: slurm_login
source: community/modules/scheduler/schedmd-slurm-gcp-v6-login
use: [network1]
use: [network]
settings:
enable_login_public_ips: true

- id: slurm_controller
source: community/modules/scheduler/schedmd-slurm-gcp-v6-controller
use:
- network1
- network
- compute_partition
- slurm_login
- homefs
Expand Down
6 changes: 5 additions & 1 deletion community/examples/hpc-slurm-local-ssd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@ deployment_groups:
- id: network
source: modules/network/vpc

- id: private_service_access
source: community/modules/network/private-service-access
use: [network]

- id: homefs
source: modules/file-system/filestore
use: [network]
use: [network, private_service_access]
settings:
local_mount: /home

Expand Down
16 changes: 10 additions & 6 deletions community/examples/hpc-slurm-ubuntu2004.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,22 @@ deployment_groups:
modules:
# Source is an embedded module, denoted by "modules/*" without ./, ../, /
# as a prefix. To refer to a local module, prefix with ./, ../ or /
- id: network1
- id: network
source: modules/network/vpc

- id: private_service_access
source: community/modules/network/private-service-access
use: [network]

- id: homefs
source: modules/file-system/filestore
use: [network1]
use: [network, private_service_access]
settings:
local_mount: /home

- id: debug_nodeset
source: community/modules/compute/schedmd-slurm-gcp-v6-nodeset
use: [network1]
use: [network]
settings:
instance_image: $(vars.slurm_image)
enable_placement: false # the default is: true
Expand All @@ -61,7 +65,7 @@ deployment_groups:

- id: compute_nodeset
source: community/modules/compute/schedmd-slurm-gcp-v6-nodeset
use: [network1]
use: [network]
settings:
instance_image: $(vars.slurm_image)
node_count_dynamic_max: 20
Expand All @@ -76,7 +80,7 @@ deployment_groups:
- id: slurm_controller
source: community/modules/scheduler/schedmd-slurm-gcp-v6-controller
use:
- network1
- network
- slurm_login
- debug_partition
- compute_partition
Expand All @@ -87,7 +91,7 @@ deployment_groups:

- id: slurm_login
source: community/modules/scheduler/schedmd-slurm-gcp-v6-login
use: [network1]
use: [network]
settings:
instance_image: $(vars.slurm_image)
machine_type: n2-standard-4
Expand Down
8 changes: 6 additions & 2 deletions community/examples/htc-slurm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,19 @@ deployment_groups:
- id: network
source: modules/network/vpc

- id: private_service_access
source: community/modules/network/private-service-access
use: [network]

- id: homefs
source: modules/file-system/filestore
use: [network]
use: [network, private_service_access]
settings:
local_mount: /home

- id: projectsfs
source: modules/file-system/filestore
use: [network]
use: [network, private_service_access]
settings:
filestore_tier: HIGH_SCALE_SSD
size_gb: 10240
Expand Down
8 changes: 6 additions & 2 deletions examples/hcls-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ deployment_groups:
- id: network
source: modules/network/vpc

- id: private_service_access
source: community/modules/network/private-service-access
use: [network]

### Resource Monitoring ###

- id: hpc-dash
Expand All @@ -62,14 +66,14 @@ deployment_groups:

- id: homefs
source: modules/file-system/filestore
use: [network]
use: [network, private_service_access]
settings:
filestore_share_name: homeshare
local_mount: /home

- id: appsfs
source: modules/file-system/filestore
use: [network]
use: [network, private_service_access]
settings:
filestore_share_name: appsshare
local_mount: /apps
Expand Down
8 changes: 6 additions & 2 deletions examples/hpc-enterprise-slurm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ deployment_groups:
- id: network
source: modules/network/vpc

- id: private_service_access
source: community/modules/network/private-service-access
use: [network]

- id: controller_sa
source: community/modules/project/service-account
settings:
Expand Down Expand Up @@ -83,13 +87,13 @@ deployment_groups:

- id: homefs
source: modules/file-system/filestore
use: [network]
use: [network, private_service_access]
settings:
local_mount: /home

- id: projectsfs
source: modules/file-system/filestore
use: [network]
use: [network, private_service_access]
settings:
local_mount: /projects

Expand Down
6 changes: 5 additions & 1 deletion examples/hpc-slurm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@ deployment_groups:
- id: network
source: modules/network/vpc

- id: private_service_access
source: community/modules/network/private-service-access
use: [network]

- id: homefs
source: modules/file-system/filestore
use: [network]
use: [network, private_service_access]
settings:
local_mount: /home

Expand Down
7 changes: 5 additions & 2 deletions examples/ml-slurm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,13 @@ deployment_groups:
- id: network
source: modules/network/vpc

- id: private_service_access
source: community/modules/network/private-service-access
use: [network]

- id: homefs
source: modules/file-system/filestore
use:
- network
use: [network, private_service_access]
settings:
local_mount: /home
size_gb: 2560
Expand Down
1 change: 1 addition & 0 deletions tools/cloud-build/daily-tests/builds/hcls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ tags:
- m.cloud-storage-bucket
- m.dashboard
- m.filestore
- m.private-service-access
- m.schedmd-slurm-gcp-v6-controller
- m.schedmd-slurm-gcp-v6-login
- m.schedmd-slurm-gcp-v6-nodeset
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ tags:
- m.DDN-EXAScaler
- m.dashboard
- m.filestore
- m.private-service-access
- m.schedmd-slurm-gcp-v6-controller
- m.schedmd-slurm-gcp-v6-login
- m.schedmd-slurm-gcp-v6-nodeset
Expand Down
1 change: 1 addition & 0 deletions tools/cloud-build/daily-tests/builds/htc-slurm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
tags:
- m.filestore
- m.DDN-EXAScaler
- m.private-service-access
- m.schedmd-slurm-gcp-v6-controller
- m.schedmd-slurm-gcp-v6-login
- m.schedmd-slurm-gcp-v6-nodeset
Expand Down
1 change: 1 addition & 0 deletions tools/cloud-build/daily-tests/builds/ml-slurm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
tags:
- m.custom-image
- m.filestore
- m.private-service-access
- m.vpc
- m.schedmd-slurm-gcp-v6-controller
- m.schedmd-slurm-gcp-v6-login
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
---
tags:
- m.filestore
- m.private-service-access
- m.schedmd-slurm-gcp-v6-controller
- m.schedmd-slurm-gcp-v6-login
- m.schedmd-slurm-gcp-v6-nodeset
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
tags:
- slurm6
- m.filestore
- m.private-service-access
- m.schedmd-slurm-gcp-v6-controller
- m.schedmd-slurm-gcp-v6-login
- m.schedmd-slurm-gcp-v6-nodeset
Expand Down
1 change: 1 addition & 0 deletions tools/cloud-build/daily-tests/builds/slurm-gcp-v6-ssd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
---
tags:
- m.filestore
- m.private-service-access
- m.schedmd-slurm-gcp-v6-controller
- m.schedmd-slurm-gcp-v6-login
- m.schedmd-slurm-gcp-v6-nodeset
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
---
tags:
- m.filestore
- m.private-service-access
- m.schedmd-slurm-gcp-v6-controller
- m.schedmd-slurm-gcp-v6-login
- m.schedmd-slurm-gcp-v6-nodeset
Expand Down
1 change: 1 addition & 0 deletions tools/cloud-build/daily-tests/builds/spack-gromacs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
---
tags:
- m.filestore
- m.private-service-access
- m.schedmd-slurm-gcp-v6-controller
- m.schedmd-slurm-gcp-v6-login
- m.schedmd-slurm-gcp-v6-nodeset
Expand Down

0 comments on commit 70d539f

Please sign in to comment.