Skip to content

Commit

Permalink
Adding note to use of Private Service Access module
Browse files Browse the repository at this point in the history
  • Loading branch information
RachaelSTamakloe committed Jan 11, 2025
1 parent ef16361 commit d49ff34
Show file tree
Hide file tree
Showing 17 changed files with 85 additions and 0 deletions.
5 changes: 5 additions & 0 deletions community/examples/hpc-slurm-gromacs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ deployment_groups:
- id: network
source: modules/network/vpc

# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- id: private_service_access
source: community/modules/network/private-service-access
use: [network]
Expand Down
5 changes: 5 additions & 0 deletions community/examples/hpc-slurm-local-ssd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ deployment_groups:
- id: network
source: modules/network/vpc

# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- id: private_service_access
source: community/modules/network/private-service-access
use: [network]
Expand Down
5 changes: 5 additions & 0 deletions community/examples/hpc-slurm-ubuntu2004.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ deployment_groups:
- id: network
source: modules/network/vpc

# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- id: private_service_access
source: community/modules/network/private-service-access
use: [network]
Expand Down
5 changes: 5 additions & 0 deletions community/examples/htc-slurm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ deployment_groups:
- id: network
source: modules/network/vpc

# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- id: private_service_access
source: community/modules/network/private-service-access
use: [network]
Expand Down
5 changes: 5 additions & 0 deletions community/modules/network/private-service-access/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ It will automatically perform the following steps, as described in the
- source: modules/network/vpc
id: network

# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- source: community/modules/network/private-service-access
id: ps_connect
use: [network]
Expand Down
5 changes: 5 additions & 0 deletions examples/gke-managed-parallelstore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ deployment_groups:
- range_name: services
ip_cidr_range: 10.0.32.0/20

# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- id: private_service_access # required for parallelstore
source: community/modules/network/private-service-access
use: [network]
Expand Down
5 changes: 5 additions & 0 deletions examples/hcls-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ deployment_groups:
- id: network
source: modules/network/vpc

# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- id: private_service_access
source: community/modules/network/private-service-access
use: [network]
Expand Down
5 changes: 5 additions & 0 deletions examples/hpc-enterprise-slurm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ deployment_groups:
- id: network
source: modules/network/vpc

# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- id: private_service_access
source: community/modules/network/private-service-access
use: [network]
Expand Down
5 changes: 5 additions & 0 deletions examples/hpc-slurm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ deployment_groups:
- id: network
source: modules/network/vpc

# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- id: private_service_access
source: community/modules/network/private-service-access
use: [network]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ deployment_groups:
outputs:
- network_name
- subnetwork_name
# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- id: private_service_access
source: community/modules/network/private-service-access
use:
Expand Down
5 changes: 5 additions & 0 deletions examples/ml-slurm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ deployment_groups:
- id: network
source: modules/network/vpc

# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- id: private_service_access
source: community/modules/network/private-service-access
use: [network]
Expand Down
5 changes: 5 additions & 0 deletions examples/pfs-parallelstore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ deployment_groups:
- id: network
source: modules/network/vpc

# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- id: private_service_access
source: community/modules/network/private-service-access
use: [network]
Expand Down
5 changes: 5 additions & 0 deletions examples/ps-slurm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ deployment_groups:
- id: network
source: modules/network/vpc

# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- id: private_service_access
source: community/modules/network/private-service-access
use: [network]
Expand Down
5 changes: 5 additions & 0 deletions modules/file-system/gke-storage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ then use them in a `gke-job-template` to dynamically provision the resource.
settings:
enable_parallelstore_csi: true

# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- id: private_service_access
source: community/modules/network/private-service-access
use: [network]
Expand Down
5 changes: 5 additions & 0 deletions modules/file-system/parallelstore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ for this newly created network.
- id: network
source: modules/network/vpc

# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- id: private_service_access
source: community/modules/network/private-service-access
use: [network]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ deployment_groups:
- id: network1
source: modules/network/vpc

# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- id: ps_connect
source: community/modules/network/private-service-access
use: [network1]
Expand Down
5 changes: 5 additions & 0 deletions tools/validate_configs/test_configs/two-clusters-sql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ deployment_groups:
- source: modules/network/vpc
id: hpc_network

# Private Service Access (PSA) requires the compute.networkAdmin role which is included in the Owner role, but not Editor
# PSA is a best practice for Filestore instances, but can be optionally
# removed by deleting the following 3 lines and any references to the module
# by Filestore modules. PSA is required for all Parallelstore functionality.
# https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
- source: community/modules/network/private-service-access
id: ps_connect
use: [hpc_network]
Expand Down

0 comments on commit d49ff34

Please sign in to comment.