You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CONFIG-VARS.md
+19-2Lines changed: 19 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,8 @@ Supported configuration variables are listed in the table below. All variables
17
17
-[Additional Nodepools](#additional-nodepools)
18
18
-[Storage](#storage)
19
19
-[For `storage_type=standard` only (NFS server VM)](#for-storage_typestandard-only-nfs-server-vm)
20
-
-[For `storage_type=ha` only (Google Filestore)](#for-storage_typeha-only-google-filestore)
20
+
-[For `storage_type=ha` with Google Filestore](#for-storage_typeha-with-google-filestore)
21
+
-[For `storage_type=ha` with Google NetApp Volumes](#for-storage_typeha-with-google-netapp-volumes)
21
22
-[Google Artifact Registry (GAR) and Google Container Registry (GCR)](#google-artifact-registry-gar-and-google-container-registry-gcr)
22
23
-[Postgres Servers](#postgres-servers)
23
24
-[Monitoring](#monitoring)
@@ -69,6 +70,7 @@ You can use `default_public_access_cidrs` to set a default range for all created
69
70
| misc_subnet_cidr | Address space for the the auxiliary resources (Jump VM and optionally NFS VM) subnet | string | "192.168.2.0/24" | This variable is ignored when `subnet_names` is set (aka bring your own subnet) |
70
71
| filestore_subnet_cidr | Address space for Google Filestore subnet | string | "192.168.3.0/29" | Needs to be at least a /29 range. Only used when `storage_type="ha"`|
71
72
| database_subnet_cidr | Address space for Google Cloud SQL Postgres subnet | string | "192.168.4.0/23" | Only used with external postgres |
73
+
| netapp_subnet_cidr | Address space for Google Cloud NetApp Volumes subnet | string | "192.168.5.0/24" | Needs to be at least a /24 range. Only used when `storage_type="ha"` and `storage_type_backend="netapp"`|
72
74
73
75
### Use Existing
74
76
@@ -212,6 +214,7 @@ stateful = {
212
214
| Name | Description | Type | Default | Notes |
213
215
| :--- | ---: | ---: | ---: | ---: |
214
216
| storage_type | Type of Storage. Valid Values: "standard", "ha" | string | "standard" | "standard" creates NFS server VM, "ha" Google Filestore instance |
217
+
| storage_type_backend | The storage backend for the chosen `storage_type`. | string | If `storage_type=standard` the default is "nfs";<br>If `storage_type=ha` the default is "filestore" | Valid Values: "nfs" if `storage_type=standard`; "filestore" or "netapp" if `storage_type=ha`|
215
218
216
219
### For `storage_type=standard` only (NFS server VM)
217
220
@@ -221,13 +224,27 @@ stateful = {
221
224
| nfs_vm_admin | OS Admin User for the NFS server VM | string | "nfsuser" | The NFS server VM is only created when storage_type="standard" |
222
225
| nfs_raid_disk_size | Size in Gb for each disk of the RAID5 cluster on the NFS server VM | number | 1000 | The NFS server VM is only created when storage_type="standard" |
223
226
224
-
### For `storage_type=ha`only (Google Filestore)
227
+
### For `storage_type=ha`with Google Filestore
225
228
226
229
| Name | Description | Type | Default | Notes |
227
230
| :--- | ---: | ---: | ---: | ---: |
228
231
| filestore_tier | The service tier for the Google Filestore Instance | string | "BASIC_HDD" | Valid Values: "BASIC_HDD", "BASIC_SSD" (previously called "STANDARD" and "PREMIUM" respectively.) |
229
232
| filestore_size_in_gb | Size in GB of Filesystem in the Google Filestore Instance | number | 1024 for BASIC_HDD, 2560 for BASIC_SDD | 2560 GB is the minimum size for the BASIC_SSD tier. The BASIC_HDD tier allows a minimum size of 1024 GB. |
230
233
234
+
### For `storage_type=ha` with Google NetApp Volumes
235
+
236
+
When `storage_type=ha` and `storage_type_backend=netapp` are specified, [Google NetApp Volumes](https://cloud.google.com/netapp/volumes/docs/discover/overview) service is created. Before using this storage option,
237
+
- Enable the Google Cloud NetApp Volumes API for your project, see how to enable [here](https://cloud.google.com/netapp/volumes/docs/get-started/configure-access/initiate-console-settings#enable_the_api).
238
+
- Grant access to NetApp Volumes operations by granting IAM roles to users. The two predefined roles are `roles/netapp.admin` and `roles/netapp.viewer`. You can assign these roles to specific users or service accounts.
239
+
- NetApp Volumes is available in several regions. For details about region availability, see [NetApp Volumes locations](https://cloud.google.com/netapp/volumes/docs/locations).
240
+
241
+
| Name | Description | Type | Default | Notes |
242
+
| :--- | ---: | ---: | ---: | ---: |
243
+
| netapp_service_level | The service level of the storage pool. | string | "PREMIUM" | Valid Values are: PREMIUM, EXTREME, STANDARD, FLEX. |
244
+
| netapp_protocols | The target volume protocol expressed as a list. | list(string) |["NFSV3"]| Each value may be one of: NFSV3, NFSV4, SMB. Currently, only NFSV3 is supported by SAS Viya Platform. |
245
+
| netapp_capacity_gib | Capacity of the storage pool (in GiB). Storage Pool capacity specified must be between 2048 GiB and 10485760 GiB. | string | "2048" ||
246
+
| netapp_volume_path | A unique file path for the volume. Used when creating mount targets. Needs to be unique per location.| string |||
247
+
231
248
## Google Artifact Registry (GAR) and Google Container Registry (GCR)
description="A prefix used in the name for all cloud resources created by this script. The prefix string must start with lowercase letter and contain only lowercase alphanumeric characters and hyphen or dash(-), but can not start or end with '-'."
6
+
type=string
7
+
}
8
+
9
+
variable"region" {
10
+
description="The region to create the VM in"
11
+
type=string
12
+
}
13
+
14
+
variable"service_level" {
15
+
description="Service level of the storage pool. Possible values are: PREMIUM, EXTREME, STANDARD, FLEX."
16
+
type=string
17
+
default="PREMIUM"
18
+
}
19
+
20
+
variable"protocols" {
21
+
description="The target volume protocol expressed as a list. Allowed combinations are ['NFSV3'], ['NFSV4'], ['SMB'], ['NFSV3', 'NFSV4'], ['SMB', 'NFSV3'] and ['SMB', 'NFSV4']. Each value may be one of: NFSV3, NFSV4, SMB."
22
+
type=list(string)
23
+
default=["NFSV3"]
24
+
}
25
+
26
+
variable"capacity_gib" {
27
+
description="Capacity of the storage pool (in GiB)."
28
+
type=string
29
+
default=2048
30
+
}
31
+
32
+
variable"volume_path" {
33
+
description="A unique file path for the volume. Used when creating mount targets. Needs to be unique per location."
34
+
type=string
35
+
default="export"
36
+
}
37
+
38
+
variable"network" {
39
+
description="VPC network name with format: `projects/{{project}}/global/networks/{{network}}`"
40
+
type=string
41
+
}
42
+
43
+
44
+
variable"allowed_clients" {
45
+
description="CIDR blocks allowed to mount nfs exports"
46
+
type=string
47
+
default="0.0.0.0/0"
48
+
}
49
+
50
+
variable"netapp_subnet_cidr" {
51
+
description="Address space for Google Cloud NetApp Volumes subnet"
0 commit comments