|
| 1 | +# !NOTE! - These are only a subset of CONFIG-VARS.md provided as examples. |
| 2 | +# Customize this file to add any variables from 'CONFIG-VARS.md' whose default values you |
| 3 | +# want to change. |
| 4 | + |
| 5 | +# **************** REQUIRED VARIABLES **************** |
| 6 | +# These required variables' values MUST be provided by the User |
| 7 | +prefix = "<prefix-value>" # this is a prefix that you assign for the resources to be created |
| 8 | +location = "<azure-location-value>" # e.g., "eastus2" |
| 9 | +# **************** REQUIRED VARIABLES **************** |
| 10 | + |
| 11 | +# !NOTE! - Without specifying your CIDR block access rules, ingress traffic |
| 12 | +# to your cluster will be blocked by default. In a SCIM environment, |
| 13 | +# the AzureActiveDirectory service tag must be granted access to port |
| 14 | +# 443/HTTPS for the ingress IP address. |
| 15 | + |
| 16 | +# ************** RECOMMENDED VARIABLES *************** |
| 17 | +default_public_access_cidrs = [] # e.g., ["123.45.6.89/32"] |
| 18 | +ssh_public_key = "~/.ssh/id_rsa.pub" |
| 19 | +# ************** RECOMMENDED VARIABLES *************** |
| 20 | + |
| 21 | +# Tags can be specified matching your tagging strategy. |
| 22 | +tags = {} # for example: { "owner|email" = "<you>@<domain>.<com>", "key1" = "value1", "key2" = "value2" } |
| 23 | + |
| 24 | +# Postgres config - By having this entry a database server is created. If you do not |
| 25 | +# need an external database server remove the 'postgres_servers' |
| 26 | +# block below. |
| 27 | +postgres_servers = { |
| 28 | + default = {}, |
| 29 | +} |
| 30 | + |
| 31 | +# Azure Container Registry config |
| 32 | +create_container_registry = false |
| 33 | +container_registry_sku = "Standard" |
| 34 | +container_registry_admin_enabled = false |
| 35 | + |
| 36 | +# AKS config |
| 37 | +kubernetes_version = "1.22.6" |
| 38 | +default_nodepool_min_nodes = 2 |
| 39 | +default_nodepool_vm_type = "Standard_D8s_v4" |
| 40 | + |
| 41 | +# AKS Node Pools config |
| 42 | +node_pools = { |
| 43 | + |
| 44 | + cas = { |
| 45 | + "machine_type" = "Standard_E16s_v3" |
| 46 | + "os_disk_size" = 200 |
| 47 | + "min_nodes" = 1 |
| 48 | + "max_nodes" = 1 |
| 49 | + "max_pods" = 110 |
| 50 | + "node_taints" = ["workload.sas.com/class=cas:NoSchedule"] |
| 51 | + "node_labels" = { |
| 52 | + "workload.sas.com/class" = "cas" |
| 53 | + } |
| 54 | + }, |
| 55 | + compute = { |
| 56 | + "machine_type" = "Standard_E16s_v3" |
| 57 | + "os_disk_size" = 200 |
| 58 | + "min_nodes" = 1 |
| 59 | + "max_nodes" = 1 |
| 60 | + "max_pods" = 110 |
| 61 | + "node_taints" = ["workload.sas.com/class=compute:NoSchedule"] |
| 62 | + "node_labels" = { |
| 63 | + "workload.sas.com/class" = "compute" |
| 64 | + "launcher.sas.com/prepullImage" = "sas-programming-environment" |
| 65 | + } |
| 66 | + }, |
| 67 | + stateless = { |
| 68 | + "machine_type" = "Standard_D16s_v3" |
| 69 | + "os_disk_size" = 200 |
| 70 | + "min_nodes" = 1 |
| 71 | + "max_nodes" = 2 |
| 72 | + "max_pods" = 110 |
| 73 | + "node_taints" = ["workload.sas.com/class=stateless:NoSchedule"] |
| 74 | + "node_labels" = { |
| 75 | + "workload.sas.com/class" = "stateless" |
| 76 | + } |
| 77 | + }, |
| 78 | + stateful = { |
| 79 | + "machine_type" = "Standard_D8s_v3" |
| 80 | + "os_disk_size" = 200 |
| 81 | + "min_nodes" = 1 |
| 82 | + "max_nodes" = 3 |
| 83 | + "max_pods" = 110 |
| 84 | + "node_taints" = ["workload.sas.com/class=stateful:NoSchedule"] |
| 85 | + "node_labels" = { |
| 86 | + "workload.sas.com/class" = "stateful" |
| 87 | + } |
| 88 | + }, |
| 89 | + singlestore = { |
| 90 | + "machine_type" = "Standard_E16ds_v5" |
| 91 | + "os_disk_size" = 200 |
| 92 | + "min_nodes" = 0 |
| 93 | + "max_nodes" = 7 |
| 94 | + "max_pods" = 110 |
| 95 | + "node_taints" = ["workload.sas.com/class=singlestore:NoSchedule"] |
| 96 | + "node_labels" = { |
| 97 | + "workload.sas.com/class" = "singlestore" |
| 98 | + } |
| 99 | + } |
| 100 | +} |
| 101 | + |
| 102 | +# Jump Server |
| 103 | +create_jump_public_ip = true |
| 104 | +jump_vm_admin = "jumpuser" |
| 105 | +jump_vm_machine_type = "Standard_B2s" |
| 106 | + |
| 107 | +# Storage for SAS Viya CAS/Compute |
| 108 | +storage_type = "standard" |
| 109 | +# required ONLY when storage_type is "standard" to create NFS Server VM |
| 110 | +create_nfs_public_ip = false |
| 111 | +nfs_vm_admin = "nfsuser" |
| 112 | +nfs_vm_machine_type = "Standard_D8s_v4" |
| 113 | +nfs_raid_disk_size = 128 |
| 114 | +nfs_raid_disk_type = "Standard_LRS" |
| 115 | + |
| 116 | +# Azure Monitor |
| 117 | +create_aks_azure_monitor = false |
| 118 | + |
| 119 | +# SingleStore configuration |
| 120 | +aks_network_plugin = "azure" |
| 121 | + |
| 122 | +# Subnets for SingleStore using azure network plugin |
| 123 | +subnets = { |
| 124 | + aks = { |
| 125 | + "prefixes": ["192.168.0.0/21"], |
| 126 | + "service_endpoints": ["Microsoft.Sql"], |
| 127 | + "enforce_private_link_endpoint_network_policies": false, |
| 128 | + "enforce_private_link_service_network_policies": false, |
| 129 | + "service_delegations": {}, |
| 130 | + } |
| 131 | + misc = { |
| 132 | + "prefixes": ["192.168.8.0/24"], |
| 133 | + "service_endpoints": ["Microsoft.Sql"], |
| 134 | + "enforce_private_link_endpoint_network_policies": false, |
| 135 | + "enforce_private_link_service_network_policies": false, |
| 136 | + "service_delegations": {}, |
| 137 | + } |
| 138 | + ## If using ha storage then the following is also added |
| 139 | + netapp = { |
| 140 | + "prefixes": ["192.168.9.0/24"], |
| 141 | + "service_endpoints": [], |
| 142 | + "enforce_private_link_endpoint_network_policies": false, |
| 143 | + "enforce_private_link_service_network_policies": false, |
| 144 | + "service_delegations": { |
| 145 | + netapp = { |
| 146 | + "name" : "Microsoft.Netapp/volumes" |
| 147 | + "actions" : ["Microsoft.Network/networkinterfaces/*", "Microsoft.Network/virtualNetworks/subnets/join/action"] |
| 148 | + } |
| 149 | + } |
| 150 | + } |
| 151 | +} |
0 commit comments