forked from coreos/tectonic-installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
terraform.tfvars.azure
261 lines (211 loc) · 12.5 KB
/
terraform.tfvars.azure
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
// The e-mail address used to:
// 1. login as the admin user to the Tectonic Console.
// 2. generate DNS zones for some providers.
//
// Note: This field MUST be set manually prior to creating the cluster.
tectonic_admin_email = ""
// The bcrypt hash of admin user password to login to the Tectonic Console.
// Use the bcrypt-hash tool (https://github.com/coreos/bcrypt-tool/releases/tag/v1.0.0) to generate it.
//
// Note: This field MUST be set manually prior to creating the cluster.
tectonic_admin_password_hash = ""
// The client secret to use.
tectonic_azure_client_secret = ""
// (optional) Azure cloud environment to use. See
// https://github.com/Azure/go-autorest/blob/ec5f4903f77ed9927ac95b19ab8e44ada64c1356/autorest/azure/environments.go#L13
// for available environments.
// tectonic_azure_cloud_environment = "AZUREPUBLICCLOUD"
// (optional) Storage account type for the etcd node(s). Example: Premium_LRS.
// Using Premium storage is constrained by the of instance specified in 'tectonic_azure_etcd_vm_size'.
// See https://docs.microsoft.com/en-us/azure/storage/storage-premium-storage#supported-vms
// tectonic_azure_etcd_storage_account_type = "Premium_LRS"
// (optional) Instance size for the etcd node(s). Example: Standard_DS2_v2.
// tectonic_azure_etcd_vm_size = "Standard_DS2_v2"
// (optional) The ID of the external Azure DNS zone used for nodes & endpoints FQDNs.
// Required when 'tectonic_base_domain' is set. This be an existing pre-registerd Azure DNS zone.
//
// Note this is the complete ID as returned in the "id" field by the Azure client, not just the name of the resource.
//
// Example: "/subscriptions/b520eabf-d6c0-4757-8a5e-0fa7d2fe12b5/resourceGroups/my-k8s-cluster/providers/Microsoft.Network/dnszones/my-k8s-dns
// tectonic_azure_external_dns_zone_id = ""
// (optional) Subnet ID within an existing VNet to deploy master nodes into.
// Required to use an existing VNet.
//
// Note this is the complete ID as returned in the "id" field by the Azure client, not just the name of the resource.
//
// Example: "/subscriptions/b520eabf-d6c0-4757-8a5e-0fa7d2fe12b5/resourceGroups/my-k8s-cluster/providers/Microsoft.Network/virtualNetworks/test-pre-vnet/subnets/my-k8s-subnet
// tectonic_azure_external_master_subnet_id = ""
// (optional) The ID of the external Network Security Group used for the Tectonic Console and Kubernetes API Server.
// Leave blank to have a new one created.
//
// Note this is the complete ID as returned in the "id" field by the Azure client, not just the name of the resource.
//
// Example: "/subscriptions/b520eabf-d6c0-4757-8a5e-0fa7d2fe12b5/resourceGroups/my-k8s-cluster/providers/Microsoft.Network/networkSecurityGroups/my-lb-nsg
// tectonic_azure_external_nsg_api_id = ""
// (optional) The ID of the external Network Security Group used for etcd.
// Leave blank to have a new one created.
//
// Note this is the complete ID as returned in the "id" field by the Azure client, not just the name of the resource.
//
// Example: "/subscriptions/b520eabf-d6c0-4757-8a5e-0fa7d2fe12b5/resourceGroups/my-k8s-cluster/providers/Microsoft.Network/networkSecurityGroups/my-etcd-nsg
// tectonic_azure_external_nsg_etcd_id = ""
// (optional) The ID of the external Network Security Group used for masters.
// Leave blank to have a new one created.
//
// Note this is the complete ID as returned in the "id" field by the Azure client, not just the name of the resource.
//
// Example: "/subscriptions/b520eabf-d6c0-4757-8a5e-0fa7d2fe12b5/resourceGroups/my-k8s-cluster/providers/Microsoft.Network/networkSecurityGroups/my-master-nsg
// tectonic_azure_external_nsg_master_id = ""
// (optional) The ID of the external Network Security Group used for workers.
// Leave blank to have a new one created.
//
// Note this is the complete ID as returned in the "id" field by the Azure client, not just the name of the resource.
//
// Example: "/subscriptions/b520eabf-d6c0-4757-8a5e-0fa7d2fe12b5/resourceGroups/my-k8s-cluster/providers/Microsoft.Network/networkSecurityGroups/my-worker-nsg
// tectonic_azure_external_nsg_worker_id = ""
// (optional) Name of an external resource group to place created resources in.
// Leave blank to have a new one created.
// tectonic_azure_external_resource_group = ""
// (optional) Resource ID of an existing Virtual Network to launch nodes into.
// Leave blank to create a new Virtual Network.
//
// Note this is the complete ID as returned in the "id" field by the Azure client, not just the name of the resource.
//
// Example: /subscriptions/b520eabf-d6c0-4757-8a5e-0fa7d2fe12b5/resourceGroups/my-k8s-cluster/providers/Microsoft.Network/virtualNetworks/my-k8s-vnet
// tectonic_azure_external_vnet_id = ""
// (optional) Subnet ID within an existing VNet to deploy worker nodes into.
// Required to use an existing VNet.
//
// Note this is the complete ID as returned in the "id" field by the Azure client, not just the name of the resource.
//
// Example: "/subscriptions/b520eabf-d6c0-4757-8a5e-0fa7d2fe12b5/resourceGroups/my-k8s-cluster/providers/Microsoft.Network/virtualNetworks/test-pre-vnet/subnets/my-k8s-subnet
// tectonic_azure_external_worker_subnet_id = ""
// An Azure location where the cluster will be built.
tectonic_azure_location = ""
// (optional) Storage account type for the master node(s). Example: Premium_LRS.
// Using Premium storage is constrained by the of instance specified in 'tectonic_azure_master_vm_size'.
// See https://docs.microsoft.com/en-us/azure/storage/storage-premium-storage#supported-vms
// tectonic_azure_master_storage_account_type = "Premium_LRS"
// (optional) Instance size for the master node(s). Example: Standard_DS2_v2.
// tectonic_azure_master_vm_size = "Standard_DS2_v2"
// (required) Path to an SSH public key file to be provisioned as the SSH key for the 'core' user.
tectonic_azure_ssh_key = ""
// (optional) Network (external) to allow SSH access from. Maps to `source_address_prefix` in Azure.
// Defaults to `*`. Can be external to Azure environment.
// Allowed values: [network CIDR (i.e., 10.0.0.0/16) | `VirtualNetwork` | `Internet` | `*` ]
// tectonic_azure_ssh_network_external = "*"
// (optional) Network (internal) to allow SSH access from. Maps to `source_address_prefix` in Azure.
// Defaults to `VirtualNetwork`. Should be internal to Azure environment.
// Allowed values: [network CIDR (i.e., 10.0.0.0/16) | `VirtualNetwork` | `Internet` | `*` ]
// tectonic_azure_ssh_network_internal = "VirtualNetwork"
// (optional) Range of IP addresses assigned to the Virtual Network in which the cluster nodes run.
// This should not overlap with any other networks, such as the Kubernetes cluster (pod) range,
// service range or a private datacenter connected via ExpressRoute."
// tectonic_azure_vnet_cidr_block = "10.0.0.0/16"
// (optional) Storage account type for the worker node(s). Example: Premium_LRS.
// Using Premium storage is constrained by the of instance specified in 'tectonic_azure_worker_vm_size'.
// See https://docs.microsoft.com/en-us/azure/storage/storage-premium-storage#supported-vms
// tectonic_azure_worker_storage_account_type = "Premium_LRS"
// (optional) Instance size for the worker node(s). Example: Standard_DS2_v2.
// tectonic_azure_worker_vm_size = "Standard_DS2_v2"
// The base DNS domain of the cluster. It must NOT contain a trailing period. Some
// DNS providers will automatically add this if necessary.
//
// Example: `openstack.dev.coreos.systems`.
//
// Note: This field MUST be set manually prior to creating the cluster.
// This applies only to cloud platforms.
tectonic_base_domain = ""
// (optional) The content of the PEM-encoded CA certificate, used to generate Tectonic Console's server certificate.
// If left blank, a CA certificate will be automatically generated.
// tectonic_ca_cert = ""
// (optional) The content of the PEM-encoded CA key, used to generate Tectonic Console's server certificate.
// This field is mandatory if `tectonic_ca_cert` is set.
// tectonic_ca_key = ""
// (optional) The algorithm used to generate tectonic_ca_key.
// The default value is currently recommend.
// This field is mandatory if `tectonic_ca_cert` is set.
// tectonic_ca_key_alg = "RSA"
// [ALPHA] If set to true, calico network policy support will be deployed.
// WARNING: Enabling an alpha feature means that future updates may become unsupported.
// This should only be enabled on clusters that are meant to be short-lived to begin validating the alpha feature.
tectonic_calico_network_policy = false
// The Container Linux update channel.
//
// Examples: `stable`, `beta`, `alpha`
tectonic_cl_channel = "stable"
// This declares the IP range to assign Kubernetes pod IPs in CIDR notation.
tectonic_cluster_cidr = "10.2.0.0/16"
// The name of the cluster.
// If used in a cloud-environment, this will be prepended to `tectonic_base_domain` resulting in the URL to the Tectonic console.
//
// Note: This field MUST be set manually prior to creating the cluster.
// Warning: Special characters in the name like '.' may cause errors on OpenStack platforms due to resource name constraints.
tectonic_cluster_name = ""
// (optional) This only applies if you use the modules/dns/ddns module.
//
// Specifies the RFC2136 Dynamic DNS server key algorithm.
// tectonic_ddns_key_algorithm = ""
// (optional) This only applies if you use the modules/dns/ddns module.
//
// Specifies the RFC2136 Dynamic DNS server key name.
// tectonic_ddns_key_name = ""
// (optional) This only applies if you use the modules/dns/ddns module.
//
// Specifies the RFC2136 Dynamic DNS server key secret.
// tectonic_ddns_key_secret = ""
// (optional) This only applies if you use the modules/dns/ddns module.
//
// Specifies the RFC2136 Dynamic DNS server IP/host to register IP addresses to.
// tectonic_ddns_server = ""
// (optional) The path of the file containing the CA certificate for TLS communication with etcd.
//
// Note: This works only when used in conjunction with an external etcd cluster.
// If set, the variables `tectonic_etcd_servers`, `tectonic_etcd_client_cert_path`, and `tectonic_etcd_client_key_path` must also be set.
// tectonic_etcd_ca_cert_path = "/dev/null"
// (optional) The path of the file containing the client certificate for TLS communication with etcd.
//
// Note: This works only when used in conjunction with an external etcd cluster.
// If set, the variables `tectonic_etcd_servers`, `tectonic_etcd_ca_cert_path`, and `tectonic_etcd_client_key_path` must also be set.
// tectonic_etcd_client_cert_path = "/dev/null"
// (optional) The path of the file containing the client key for TLS communication with etcd.
//
// Note: This works only when used in conjunction with an external etcd cluster.
// If set, the variables `tectonic_etcd_servers`, `tectonic_etcd_ca_cert_path`, and `tectonic_etcd_client_cert_path` must also be set.
// tectonic_etcd_client_key_path = "/dev/null"
// The number of etcd nodes to be created.
// If set to zero, the count of etcd nodes will be determined automatically.
//
// Note: This is currently only supported on AWS.
tectonic_etcd_count = "0"
// (optional) List of external etcd v3 servers to connect with (hostnames/IPs only).
// Needs to be set if using an external etcd cluster.
//
// Example: `["etcd1", "etcd2", "etcd3"]`
// tectonic_etcd_servers = ""
// (optional) If set to `true`, TLS secure communication for self-provisioned etcd. will be used.
//
// Note: If `tectonic_experimental` is set to `true` this variable has no effect, because the experimental self-hosted etcd always uses TLS.
// tectonic_etcd_tls_enabled = true
// If set to true, experimental Tectonic assets are being deployed.
tectonic_experimental = false
// The path to the tectonic licence file.
//
// Note: This field MUST be set manually prior to creating the cluster unless `tectonic_vanilla_k8s` is set to `true`.
tectonic_license_path = ""
// The number of master nodes to be created.
// This applies only to cloud platforms.
tectonic_master_count = "1"
// The path the pull secret file in JSON format.
//
// Note: This field MUST be set manually prior to creating the cluster unless `tectonic_vanilla_k8s` is set to `true`.
tectonic_pull_secret_path = ""
// This declares the IP range to assign Kubernetes service cluster IPs in CIDR notation. The maximum size of this IP range is /12
tectonic_service_cidr = "10.3.0.0/16"
// The Tectonic statistics collection URL to which to report.
tectonic_stats_url = "https://stats-collector.tectonic.com"
// If set to true, a vanilla Kubernetes cluster will be deployed, omitting any Tectonic assets.
tectonic_vanilla_k8s = false
// The number of worker nodes to be created.
// This applies only to cloud platforms.
tectonic_worker_count = "3"